diff options
Diffstat (limited to 'src/net/win2mac.cpp')
-rw-r--r-- | src/net/win2mac.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/net/win2mac.cpp b/src/net/win2mac.cpp index d6da2cf2..020b808b 100644 --- a/src/net/win2mac.cpp +++ b/src/net/win2mac.cpp @@ -1,7 +1,5 @@ #include "win2mac.h" -#define SWAP( a, b ) { char c; c=a; a=b; b=c; } - UInt32 DR_SwapFourBytes(UInt32 dw) { UInt32 tmp; @@ -19,13 +17,3 @@ UInt16 DR_SwapTwoBytes(UInt16 w) tmp = ((w & 0xFF00) >> 0x08) | (tmp << 0x08); return(tmp); } - -char* SwapChar(char charlist[]) -{ - for (int i = 0; i < 24 / 2; i++) - { - SWAP(charlist[i], charlist[24 - i]); - } - - return charlist; -} |