git.y1.nz

SameBoy

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

commit 72b6d6c5324fe02197a16306bad28927ac0d54e5
parent fd8c9bba5de78c1b774228bee3cae77d4a6b4c3a
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Sat, 30 Oct 2021 18:31:47 +0300

Merge branch 'master' of https://github.com/LIJI32/SameBoy

Diffstat:
MCore/display.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Core/display.c b/Core/display.c @@ -1549,7 +1549,7 @@ uint8_t GB_get_oam_info(GB_gameboy_t *gb, GB_oam_info_t *dest, uint8_t *sprite_h uint8_t count = 0; *sprite_height = (gb->io_registers[GB_IO_LCDC] & 4) ? 16:8; uint8_t oam_to_dest_index[40] = {0,}; - for (unsigned y = 0; y < LINES; y++) { + for (signed y = 0; y < LINES; y++) { GB_object_t *sprite = (GB_object_t *) &gb->oam; uint8_t sprites_in_line = 0; for (uint8_t i = 0; i < 40; i++, sprite++) {

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