GBHawk: Bug Fix

This commit is contained in:
alyosha-tas 2017-11-23 10:06:37 -05:00
parent 9faae458af
commit 5eae2d2a9a
1 changed files with 1 additions and 4 deletions

View File

@ -214,7 +214,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
// here is where LY = LYC gets cleared (but only if LY isnt 0 as that's a special case
if (LY_inc == 1)
{
//LYC_INT = false;
LYC_INT = false;
STAT &= 0xFB;
}
@ -412,9 +412,6 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
// here LY=LYC will be asserted
if ((cycle == 4) && (LY != 0))
{
LYC_INT = false;
STAT &= 0xFB;
if (LY == LYC)
{
// set STAT coincidence FLAG and interrupt flag if it is enabled