all repos — mgba @ ee698cc311f37c184e8f0fdf553d271cf6f6bf51

mGBA Game Boy Advance Emulator

SM83: Disassemble STOP as one byte
Vicki Pfau vi@endrift.com
Wed, 09 Sep 2020 23:02:39 -0700
commit

ee698cc311f37c184e8f0fdf553d271cf6f6bf51

parent

30e0be098fdab754da67838db1c319cfea7aeb4f

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

jump to
M CHANGESCHANGES

@@ -68,6 +68,7 @@ - Qt: Fix Battle Chip view not displaying chips on some DPI settings

- mGUI: Fix closing down a game if an exit is signalled - mVL: Fix injecting accidentally draining non-injection buffer - SM83: Simplify register pair access on big endian + - SM83: Disassemble STOP as one byte - VFS: Fix directory node listing on some filesystems Misc: - 3DS: Use "wide mode" where applicable for slightly better filtering
M src/sm83/decoder.csrc/sm83/decoder.c

@@ -365,7 +365,7 @@ DEFINE_DECODER_SM83(DI, info->mnemonic = SM83_MN_DI)

DEFINE_DECODER_SM83(EI, info->mnemonic = SM83_MN_EI) DEFINE_DECODER_SM83(HALT, info->mnemonic = SM83_MN_HALT) DEFINE_DECODER_SM83(ILL, info->mnemonic = SM83_MN_ILL) -DEFINE_DECODER_SM83(STOP, info->mnemonic = SM83_MN_STOP; return 1) +DEFINE_DECODER_SM83(STOP, info->mnemonic = SM83_MN_STOP) #define DEFINE_RST_DECODER_SM83(VEC) \ DEFINE_DECODER_SM83(RST ## VEC, info->op1.immediate = 0x ## VEC;)