GBHawk: set to released and proper window time (tested on console)
This commit is contained in:
parent
6476b6739a
commit
8edb61eb52
|
@ -655,7 +655,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
|
|||
window_latch = LCDC.Bit(5);
|
||||
|
||||
// TODO: If Window is turned on midscanline what happens? When is this check done exactly?
|
||||
if ((window_started && window_latch) || (window_is_reset && !window_latch && (LY > window_y)))
|
||||
if ((window_started && window_latch) || (window_is_reset && !window_latch && (LY >= window_y)))
|
||||
{
|
||||
window_y_tile_inc++;
|
||||
if (window_y_tile_inc==8)
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
|
|||
"GBHawk",
|
||||
"",
|
||||
isPorted: false,
|
||||
isReleased: false)]
|
||||
isReleased: true)]
|
||||
[ServiceNotApplicable(typeof(IDriveLight))]
|
||||
public partial class GBHawk : IEmulator, ISaveRam, IDebuggable, IStatable, IInputPollable, IRegionable, IGameboyCommon,
|
||||
ISettable<GBHawk.GBSettings, GBHawk.GBSyncSettings>
|
||||
|
|
|
@ -426,7 +426,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
|
|||
window_latch = LCDC.Bit(5);
|
||||
|
||||
// TODO: If Window is turned on midscanline what happens? When is this check done exactly?
|
||||
if ((window_started && window_latch) || (window_is_reset && !window_latch && (LY > window_y)))
|
||||
if ((window_started && window_latch) || (window_is_reset && !window_latch && (LY >= window_y)))
|
||||
{
|
||||
window_y_tile_inc++;
|
||||
if (window_y_tile_inc==8)
|
||||
|
|
Loading…
Reference in New Issue