From 802454482c2843234a19a06f6acce360e0be3d60 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Fri, 13 Nov 2015 19:15:37 -0800 Subject: It is now possible to switch back and forth between the menu ROM and the game --- io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'io.c') diff --git a/io.c b/io.c index 6199af0..0debbd2 100644 --- a/io.c +++ b/io.c @@ -293,7 +293,7 @@ void handle_binding_up(keybinding * binding) } break; case UI_EXIT: - exit(0); + genesis->m68k->should_return = 1; } break; } @@ -609,7 +609,7 @@ cleanup_sock: close(ports[i].device.stream.listen_fd); ports[i].device_type = IO_NONE; } - } else + } else #endif if (ports[i].device_type == IO_GAMEPAD3 || ports[i].device_type == IO_GAMEPAD6) { printf("IO port %s connected to gamepad #%d with type '%s'\n", io_name(i), ports[i].device.pad.gamepad_num + 1, device_type_names[ports[i].device_type]); @@ -672,7 +672,7 @@ void set_keybindings(io_port *ports) if (pads) { for (int i = 0; i < 100 && i < render_num_joysticks(); i++) { - + if (i < 10) { numstr[0] = i + '0'; numstr[1] = 0; -- cgit v1.2.3