commit
16e0c1b75c
|
@ -128,8 +128,8 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
|
|||
|
||||
iptr0 = Marshal.AllocHGlobal(CHR_RAM.Length + BG_map_1.Length + BG_map_2.Length + 1);
|
||||
iptr1 = Marshal.AllocHGlobal(OAM.Length + 1);
|
||||
iptr2 = Marshal.AllocHGlobal(color_palette.Length * 2 + 1);
|
||||
iptr3 = Marshal.AllocHGlobal(color_palette.Length + 1);
|
||||
iptr2 = Marshal.AllocHGlobal(color_palette.Length * 2 * 8 + 1);
|
||||
iptr3 = Marshal.AllocHGlobal(color_palette.Length * 8 + 1);
|
||||
|
||||
_scanlineCallback = null;
|
||||
}
|
||||
|
|
|
@ -250,6 +250,9 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
|
|||
LY_inc = 1;
|
||||
Core.in_vblank = false;
|
||||
VBL_INT = false;
|
||||
if (STAT.Bit(3)) { HBL_INT = true; }
|
||||
|
||||
STAT &= 0xFC;
|
||||
|
||||
// special note here, the y coordiate of the window is kept if the window is deactivated
|
||||
// meaning it will pick up where it left off if re-enabled later
|
||||
|
|
Loading…
Reference in New Issue