From e28aa323245c1229aa1916e429cb477559f56e76 Mon Sep 17 00:00:00 2001 From: Talarubi Date: Tue, 24 Oct 2017 18:21:08 -0400 Subject: [PATCH] Fixed: Typo in SPC700 instruction table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://board.byuu.org/viewtopic.php?p=48325#p48325 Per Screwtape and Jonas Quinn, this fixes 魔獣王 (Majuu Ou) hanging at the title. --- higan/processor/spc700/instruction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/higan/processor/spc700/instruction.cpp b/higan/processor/spc700/instruction.cpp index b4291e47..4d04d88d 100644 --- a/higan/processor/spc700/instruction.cpp +++ b/higan/processor/spc700/instruction.cpp @@ -62,7 +62,7 @@ auto SPC700::instruction() -> void { op(0x38, DirectImmediateModify, fp(AND)) op(0x39, IndirectXWriteIndirectY, fp(AND)) op(0x3a, DirectModifyWord, +1) - op(0x3b, DirectIndexedModify, fp(ROL), A) + op(0x3b, DirectIndexedModify, fp(ROL), X) op(0x3c, ImpliedModify, fp(ROL), A) op(0x3d, ImpliedModify, fp(INC), X) op(0x3e, DirectRead, fp(CMP), X)