GBHawk: set to released and proper window time (tested on console)

This commit is contained in:
alyosha-tas 2018-06-14 11:05:48 -04:00
parent 6476b6739a
commit 8edb61eb52
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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>

View File

@ -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)