SM83: Disassemble STOP as one byte

This commit is contained in:
Vicki Pfau 2020-09-09 23:02:39 -07:00
parent 30e0be098f
commit ee698cc311
2 changed files with 2 additions and 1 deletions

View File

@ -68,6 +68,7 @@ Other fixes:
- 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

View File

@ -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;)