diff options
author | 2008-04-12 10:47:39 +0000 | |
---|---|---|
committer | 2008-04-12 10:47:39 +0000 | |
commit | 303caf3f8b3cbb0f8668d54834ebd710e20a77f5 (patch) | |
tree | 26d542b2344eff34b62f9ede4f8e2b3536a4cf8e /src/emu/mamecore.h | |
parent | 7544575aea03da371c71438e717c80ecc952dea0 (diff) |
removed casts and removed unnecessary decoding from NCLIP.
added signed values to PAIR & PAIR64.
renamed PAIR64.lw to PAIR64.q
Diffstat (limited to 'src/emu/mamecore.h')
-rw-r--r-- | src/emu/mamecore.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/emu/mamecore.h b/src/emu/mamecore.h index ebee1a49d16..8b68b46d6e9 100644 --- a/src/emu/mamecore.h +++ b/src/emu/mamecore.h @@ -91,11 +91,16 @@ typedef union #ifdef LSB_FIRST struct { UINT8 l,h,h2,h3; } b; struct { UINT16 l,h; } w; + struct { INT8 l,h,h2,h3; } sb; + struct { INT16 l,h; } sw; #else struct { UINT8 h3,h2,h,l; } b; + struct { INT8 h3,h2,h,l; } sb; struct { UINT16 h,l; } w; + struct { INT16 h,l; } sw; #endif UINT32 d; + INT32 sd; } PAIR; @@ -110,12 +115,19 @@ typedef union struct { UINT8 l,h,h2,h3,h4,h5,h6,h7; } b; struct { UINT16 l,h,h2,h3; } w; struct { UINT32 l,h; } d; + struct { INT8 l,h,h2,h3,h4,h5,h6,h7; } sb; + struct { INT16 l,h,h2,h3; } sw; + struct { INT32 l,h; } sd; #else struct { UINT8 h7,h6,h5,h4,h3,h2,h,l; } b; struct { UINT16 h3,h2,h,l; } w; struct { UINT32 h,l; } d; + struct { INT8 h7,h6,h5,h4,h3,h2,h,l; } sb; + struct { INT16 h3,h2,h,l; } sw; + struct { INT32 h,l; } sd; #endif - UINT64 lw; + UINT64 q; + INT64 sq; } PAIR64; |