should fix GS codes that don't work on games which use lcd interrupts instead of vblank
thanks unmacaque git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1014 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
e3b06a9684
commit
77ae016369
|
@ -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