git.y1.nz

SameBoy

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

commit 1d7ecb7f1b1865e88c454e8c8c9e9d080a1dd1d5
parent 8c30a7c90c666c79e42704d606041addb62d5a3b
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Sun, 30 Mar 2025 19:41:07 +0300

^C before loading a ROM quits again

Diffstat:
MSDL/main.c3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/SDL/main.c b/SDL/main.c @@ -699,6 +699,9 @@ static void rumble(GB_gameboy_t *gb, double amp) static void debugger_interrupt(int ignore) { #ifndef _WIN32 + if (!GB_is_inited(&gb)) { + exit(0); + } if (GB_debugger_is_stopped(&gb)) { pending_command = GB_SDL_QUIT_COMMAND; console_line_ready(); // Force the debugger wait-loop to process the command

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