diff options
author | Ian C <ianc@noddybox.co.uk> | 2007-09-29 11:08:46 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2007-09-29 11:08:46 +0000 |
commit | 0099ea03c53e20968cc0490a48bd606597044e07 (patch) | |
tree | adab887e7c3a192874aec8cfd0125a9b8bafce5f /arm9/source/z80_decode.c | |
parent | f39151d7f9bf82e7295c60b89d9da02c781528eb (diff) |
Diffstat (limited to 'arm9/source/z80_decode.c')
-rw-r--r-- | arm9/source/z80_decode.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/arm9/source/z80_decode.c b/arm9/source/z80_decode.c index 4a24bd4..82912b8 100644 --- a/arm9/source/z80_decode.c +++ b/arm9/source/z80_decode.c @@ -40,9 +40,6 @@ static Z80Byte Stable[512]; static Z80Byte Ztable[512]; -int Z80_HI_WORD; -int Z80_LO_WORD; - #define HI Z80_HI_WORD #define LO Z80_LO_WORD @@ -51,33 +48,6 @@ int Z80_LO_WORD; void Z80_InitialiseInternals(void) { Z80Word f; - Z80Reg r; - - /* Check endianness - */ - r.w=0x1234; - - if (r.b[0] == 0x12) - { - HI=0; - LO=1; - } - else if (r.b[1] == 0x12) - { - HI=1; - LO=0; - } - else - { - exit(1); - } - - /* Check variable sizes - */ - if (CHAR_BIT!=8 || sizeof(Z80Word)!=2) - { - exit(2); - } /* Initialise flag tables */ |