GBHawk: Bug Fix

This commit is contained in:
alyosha-tas 2017-11-24 20:21:53 -05:00
parent 68e32e93e4
commit 8972c8d57f
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
}
else if (addr < 0x4000)
{
value &= 0x3F;
value &= 0x7F;
// writing zero gets translated to 1
if (value == 0) { value = 1; }
@ -112,7 +112,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
}
else if (addr < 0x6000)
{
RAM_bank = value;
RAM_bank = value & 3;
}
else
{