X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmemory.cpp;h=0343f612755aa5c5bc262a6a6aebf7923ea1b51c;hb=67a95fc0511260daf0a92709e8a835a090b467d8;hp=c1b299a5e2b38b4f18d1ae6cac3e10e2f64cdb2e;hpb=e27b52c2a13e2f7476fbe981e30043fb1b6e592a;p=virtualjaguar diff --git a/src/memory.cpp b/src/memory.cpp index c1b299a..0343f61 100644 --- a/src/memory.cpp +++ b/src/memory.cpp @@ -148,6 +148,8 @@ uint32 butch, dscntrl, ds_data, i2cntrl, sbcntrl, subdata, subdatb, sb_time, fif //this isn't endian safe... #define BSWAP64(x) ((htonl(x & 0xFFFFFFFF) << 32) | htonl(x >> 32)) // Actually, we use ESAFExx() macros instead of this, and we use GCC to check the endianness... +// Acutally, considering that "byteswap.h" doesn't exist elsewhere, the above +// is probably our best bet here. Just need to rename them to ESAFExx(). uint16 & memcon1 = *((uint16 *)&jagMemSpace[0xF00000]); uint16 & memcon2 = *((uint16 *)&jagMemSpace[0xF00002]);