GBHawk: update GBA startup state, fix Konami collection Vol 4

This commit is contained in:
alyosha-tas 2021-11-15 18:43:20 -05:00
parent 78615095f2
commit 493cfc43b6
3 changed files with 2065 additions and 2 deletions

View File

@ -612,7 +612,7 @@ namespace BizHawk.Emulation.Cores.Components.LR35902
SetIntRegs(interrupt_src_reg);
if ((interrupt_src_reg & interrupt_enable_reg) == 0) { FlagI = false; }
if ((interrupt_src_reg & (interrupt_enable_reg & 0x1F)) == 0) { FlagI = false; }
// reset back to default state
int_src = 5;
int_clear = 0;

File diff suppressed because it is too large Load Diff

View File

@ -190,6 +190,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
Console.WriteLine(romHashMD5);
var romHashSHA1 = SHA1Checksum.ComputePrefixedHex(rom);
Console.WriteLine(romHashSHA1);
_rom = rom;
var mppr = Setup_Mapper(romHashMD5, romHashSHA1);
if (cart_RAM != null) { cart_RAM_vbls = new byte[cart_RAM.Length]; }
@ -392,7 +393,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
// uninitialized RAM
for (int i = 0; i < RAM.Length; i++)
{
RAM[i] = 0;
RAM[i] = GBA_Init_RAM[i];
}
}
else