git.y1.nz

SameBoy

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

commit 47ce95afb560d9df23a92584f660d00c07a34fee
parent 147341a1d4a02aae4de3a7829f271a15ae1c32d3
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Thu,  6 Apr 2023 10:30:04 +0300

Fixed typo that caused the libretro core to crash during link mode. Fixes #534

Diffstat:
Mlibretro/libretro.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libretro/libretro.c b/libretro/libretro.c @@ -641,7 +641,7 @@ static void init_for_current_model(unsigned id) GB_set_lcd_status_callback(&gameboy[0], lcd_status_change_1); if (emulated_devices == 2) { GB_set_vblank_callback(&gameboy[1], (GB_vblank_callback_t) vblank2); - GB_set_lcd_status_callback(&gameboy[2], lcd_status_change_2); + GB_set_lcd_status_callback(&gameboy[1], lcd_status_change_2); if (link_cable_emulation) { set_link_cable_state(true); }

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