SWAP was incorrectly disassembled as RLC

This commit is contained in:
Lior Halphon 2018-06-09 15:39:40 +03:00
parent 38c0cb3323
commit d95ad1ca54

View File

@ -662,7 +662,7 @@ static void srl_r(GB_gameboy_t *gb, uint8_t opcode, uint16_t *pc)
static void swap_r(GB_gameboy_t *gb, uint8_t opcode, uint16_t *pc) static void swap_r(GB_gameboy_t *gb, uint8_t opcode, uint16_t *pc)
{ {
(*pc)++; (*pc)++;
GB_log(gb, "RLC %s\n", get_src_name(opcode)); GB_log(gb, "SWAP %s\n", get_src_name(opcode));
} }
static void bit_r(GB_gameboy_t *gb, uint8_t opcode, uint16_t *pc) static void bit_r(GB_gameboy_t *gb, uint8_t opcode, uint16_t *pc)