summaryrefslogtreecommitdiff
path: root/src/net/win2mac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/win2mac.cpp')
-rw-r--r--src/net/win2mac.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/net/win2mac.cpp b/src/net/win2mac.cpp
deleted file mode 100644
index 020b808b..00000000
--- a/src/net/win2mac.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
-#include "win2mac.h"
-
-UInt32 DR_SwapFourBytes(UInt32 dw)
-{
- UInt32 tmp;
- tmp = (dw & 0x000000FF);
- tmp = ((dw & 0x0000FF00) >> 0x08) | (tmp << 0x08);
- tmp = ((dw & 0x00FF0000) >> 0x10) | (tmp << 0x08);
- tmp = ((dw & 0xFF000000) >> 0x18) | (tmp << 0x08);
- return (tmp);
-}
-
-UInt16 DR_SwapTwoBytes(UInt16 w)
-{
- UInt16 tmp;
- tmp = (w & 0x00FF);
- tmp = ((w & 0xFF00) >> 0x08) | (tmp << 0x08);
- return(tmp);
-}