should fix GS codes that don't work on games which use lcd interrupts instead of vblank
thanks unmacaque
This commit is contained in:
parent
5f5ddb11a4
commit
f1812fd2e3
|
@ -2016,6 +2016,7 @@ void gbVblank_interrupt()
|
|||
|
||||
void gbLcd_interrupt()
|
||||
{
|
||||
gbCheatWrite(false); // Emulates GS codes.
|
||||
gbMemory[0xff0f] = register_IF &= 0xfd;
|
||||
gbWriteMemory(--SP.W, PC.B.B1);
|
||||
gbWriteMemory(--SP.W, PC.B.B0);
|
||||
|
|
Loading…
Reference in New Issue