Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions linuxdoom-1.10/m_swap.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ rcsid[] = "$Id: m_bbox.c,v 1.1 1997/02/03 22:45:10 b1 Exp $";
#include "m_swap.h"


// Not needed with big endian.
#ifndef __BIG_ENDIAN__
// Needed for Big Endian as the WAD files are stored
// in Little Endian format (as mentioned in the m_swap.h file)
#ifdef __BIG_ENDIAN__

// Swap 16bit, that is, MSB and LSB byte.
unsigned short SwapSHORT(unsigned short x)
Expand Down