all repos — mgba @ 6bd7a5ee53d299c802614e91cd4710c8ed2126ff

mGBA Game Boy Advance Emulator

Fill remainder of table
Jeffrey Pfau jeffrey@endrift.com
Sat, 06 Apr 2013 20:01:32 -0700
commit

6bd7a5ee53d299c802614e91cd4710c8ed2126ff

parent

7a0fb72e7e3213b7579e3cdfa65d3c8755877e6e

1 files changed, 6 insertions(+), 2 deletions(-)

jump to
M src/arm.csrc/arm.c

@@ -683,6 +683,10 @@ DECLARE_ARM_LOAD_STORE_COPROCESSOR_BLOCK(COND, LDC, P, U, N, W), \

DECLARE_ARM_COPROCESSOR_BLOCK(COND, CDP, MCR), \ DECLARE_ARM_SWI_BLOCK(COND) +#define DECLARE_EMPTY_BLOCK \ + DO_8(DO_256(0)), \ + DO_8(DO_256(0)) + static const ARMInstruction armTable[0x10000] = { DECLARE_COND_BLOCK(EQ), DECLARE_COND_BLOCK(NE),

@@ -698,6 +702,6 @@ DECLARE_COND_BLOCK(GE),

DECLARE_COND_BLOCK(LT), DECLARE_COND_BLOCK(GT), DECLARE_COND_BLOCK(LE), - DECLARE_COND_BLOCK(AL)//, - //DECLARE_EMPTY_BLOCK + DECLARE_COND_BLOCK(AL), + DECLARE_EMPTY_BLOCK };