GBHawk: mode1 bug fix
This commit is contained in:
parent
877c11d5f9
commit
b7c821f8d6
|
@ -584,7 +584,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
|
||||||
{
|
{
|
||||||
if (STAT.Bit(4))
|
if (STAT.Bit(4))
|
||||||
{
|
{
|
||||||
if ((cycle >= 4) && (LY == 144))
|
if ((cycle >= 5) && (LY == 144))
|
||||||
{
|
{
|
||||||
VBL_INT = true;
|
VBL_INT = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -587,7 +587,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
|
||||||
{
|
{
|
||||||
if (STAT.Bit(4))
|
if (STAT.Bit(4))
|
||||||
{
|
{
|
||||||
if ((cycle >= 4) && (LY == 144))
|
if ((cycle >= (3 + 1 * LYC_offset)) && (LY == 144))
|
||||||
{
|
{
|
||||||
VBL_INT = true;
|
VBL_INT = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue