fix GB trace logger

This commit is contained in:
zeromus 2016-04-13 16:09:22 -05:00
parent 0cac65c184
commit 71e32bc3d9
1 changed files with 3 additions and 2 deletions

View File

@ -24,7 +24,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
.PadRight(30),
RegisterInfo =
string.Format(
"SP:{2:x2} A:{3:x2} B:{4:x2} C:{5:x2} D:{6:x2} E:{7:x2} F:{8:x2} H:{9:x2} L:{10:x2} LY:{14:x2} {11} Cy:{0}",
"SP:{2:x2} A:{3:x2} B:{4:x2} C:{5:x2} D:{6:x2} E:{7:x2} F:{8:x2} H:{9:x2} L:{10:x2} LY:{13:x2} {11} Cy:{0}",
s[0],
s[1] & 0xffff,
s[2] & 0xffff,
@ -37,7 +37,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.Gameboy
s[9] & 0xff,
s[10] & 0xff,
s[11] != 0 ? "skip" : "",
s[12] & 0xff
s[12] & 0xff,
s[13] & 0xff
)
});
}