git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

commit d178ece9090d6aea39f759bb3a96f1c8866b039d
parent 6e7ba7589c2be5ce0411185bb7935422ca93945e
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Sun, 26 Dec 2021 19:57:18 +0200

Disabled an incorrectly emulated portion of the TILE_SET glitch

Diffstat:
MCore/display.c5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Core/display.c b/Core/display.c @@ -1642,14 +1642,15 @@ abort_fetching_object: } skip_slow_mode_3: - /* TODO: Verify */ + /* TODO: This seems incorrect (glitches Tesserae), verify further */ + /* if (gb->fetcher_state == 4 || gb->fetcher_state == 5) { gb->data_for_sel_glitch = gb->current_tile_data[0]; } else { gb->data_for_sel_glitch = gb->current_tile_data[1]; } - + */ while (gb->lcd_x != 160 && !gb->disable_rendering && gb->screen && !gb->sgb) { /* Oh no! The PPU and LCD desynced! Fill the rest of the line whith white. */ uint32_t *dest = NULL;

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.