all repos — mgba @ e577df214280969049af85fcbce4f389fc59634a

mGBA Game Boy Advance Emulator

Fix data format 3
Jeffrey Pfau jeffrey@endrift.com
Tue, 09 Apr 2013 22:35:38 -0700
commit

e577df214280969049af85fcbce4f389fc59634a

parent

d3abd2dc63b0ad2b62e4dd05126d6f76f69e0639

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

jump to
M src/isa-thumb.csrc/isa-thumb.c

@@ -97,13 +97,13 @@

DEFINE_DATA_FORM_2_INSTRUCTION_THUMB(ADD, ) DEFINE_DATA_FORM_2_INSTRUCTION_THUMB(SUB, ) -#define DEFINE_DATA_FORM_3_INSTRUCTION_EX_THUMB(NAME, RM, BODY) \ +#define DEFINE_DATA_FORM_3_INSTRUCTION_EX_THUMB(NAME, RD, BODY) \ DEFINE_INSTRUCTION_THUMB(NAME, \ int rd = RD; \ BODY;) #define DEFINE_DATA_FORM_3_INSTRUCTION_THUMB(NAME, BODY) \ - COUNT_3(DEFINE_DATA_FORM_2_INSTRUCTION_EX_THUMB, NAME ## _R, BODY) + COUNT_3(DEFINE_DATA_FORM_3_INSTRUCTION_EX_THUMB, NAME ## _R, BODY) DEFINE_DATA_FORM_3_INSTRUCTION_THUMB(ADD2, ) DEFINE_DATA_FORM_3_INSTRUCTION_THUMB(CMP1, )