GBHawk: Bug Fix
This commit is contained in:
parent
68e32e93e4
commit
8972c8d57f
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue