X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmemory.h;fp=src%2Fmemory.h;h=78fb3b8c49f903c71a5e46e0b90cb923b0524b7b;hb=d34e18e57aaa635c2be2e4116e1e59af68ed1bd9;hp=e57dc84a8495d238fd62a57085a702dd6a1f09e8;hpb=f548beede257a2252a2639e3fe03c7cda99433ed;p=virtualjaguar diff --git a/src/memory.h b/src/memory.h index e57dc84..78fb3b8 100644 --- a/src/memory.h +++ b/src/memory.h @@ -87,6 +87,8 @@ extern const char * whoName[9]; #define SET16(r, a, v) r[(a)] = ((v) & 0xFF00) >> 8, r[(a)+1] = (v) & 0xFF #define GET16(r, a) ((r[(a)] << 8) | r[(a)+1]) +//This doesn't seem to work on OSX. So have to figure something else out. :-( +#if 0 // This is GCC specific, but we can fix that if we need to... // Big plus of this approach is that these compile down to single instructions on little // endian machines while one big endian machines we don't have any overhead. :-) @@ -103,5 +105,6 @@ extern const char * whoName[9]; #define ESAFE32(x) (x) #define ESAFE64(x) (x) #endif +#endif #endif // __MEMORY_H__