GBHawk: fix behaviour of writing to LY reg, fixes Zen console verificaiton
This commit is contained in:
parent
a54b9acba2
commit
9b5997cf7f
|
@ -162,8 +162,9 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
|
|||
scroll_x = value;
|
||||
break;
|
||||
case 0xFF44: // LY
|
||||
LY = 0; /*reset*/
|
||||
LY_read = 0;
|
||||
// writing to LY has no effect on GBC (zen intergalactic ninja does this on initialization)
|
||||
//LY = 0; /*reset*/
|
||||
//LY_read = 0;
|
||||
break;
|
||||
case 0xFF45: // LYC
|
||||
// tests indicate that latching writes to LYC should take place 4 cycles after the write
|
||||
|
|
|
@ -158,8 +158,9 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
|
|||
scroll_x = value;
|
||||
break;
|
||||
case 0xFF44: // LY
|
||||
LY = 0; /*reset*/
|
||||
LY_read = 0;
|
||||
// writing to LY has no effect on GBC (zen intergalactic ninja does this on initialization)
|
||||
//LY = 0; /*reset*/
|
||||
//LY_read = 0;
|
||||
break;
|
||||
case 0xFF45: // LYC
|
||||
// tests indicate that latching writes to LYC should take place 4 cycles after the write
|
||||
|
|
|
@ -83,6 +83,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
|
|||
scroll_x = value;
|
||||
break;
|
||||
case 0xFF44: // LY
|
||||
// writing to LY has no effect on GBC, not sure about GB (zen intergalactic ninja does this on initialization)
|
||||
LY = 0; /*reset*/
|
||||
break;
|
||||
case 0xFF45: // LYC
|
||||
|
|
Loading…
Reference in New Issue