all repos — mgba @ 764d9740eee1fa13aa5f06ab6311e5682be8c832

mGBA Game Boy Advance Emulator

Fix exporting of ARMDecodeThumb
Jeffrey Pfau jeffrey@endrift.com
Sat, 02 Nov 2013 03:42:46 -0700
commit

764d9740eee1fa13aa5f06ab6311e5682be8c832

parent

c8a2f595d4516b595bbb311a2a89b016133caef8

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

jump to
M src/arm/decoder-thumb.csrc/arm/decoder-thumb.c

@@ -311,7 +311,7 @@ static const ThumbDecoder _thumbDecoderTable[0x400] = {

DECLARE_THUMB_EMITTER_BLOCK(_ThumbDecode) }; -void _decodeThumb(uint16_t opcode, struct ThumbInstructionInfo* info) { +void ARMDecodeThumb(uint16_t opcode, struct ThumbInstructionInfo* info) { info->opcode = opcode; info->branches = 0; info->traps = 0;

@@ -371,7 +371,7 @@ };

int ARMDisassembleThumb(uint16_t opcode, uint32_t pc, char* buffer, int blen) { struct ThumbInstructionInfo info; - _decodeThumb(opcode, &info); + ARMDecodeThumb(opcode, &info); const char* mnemonic = thumbMnemonicStrings[info.mnemonic]; int written; int total = 0;