diff nuklear_ui/blastem_nuklear.c @ 1980:81df9aa2de9b

Less hacky run on audio thread mode
author Michael Pavone <pavone@retrodev.com>
date Sat, 09 May 2020 23:25:51 -0700
parents ee178f08611b
children 4c418ee9a9d8
line wrap: on
line diff
--- a/nuklear_ui/blastem_nuklear.c	Sat May 09 21:37:35 2020 -0700
+++ b/nuklear_ui/blastem_nuklear.c	Sat May 09 23:25:51 2020 -0700
@@ -2220,7 +2220,7 @@
 		context->style.window.fixed_background = nk_style_item_color(nk_rgba(0, 0, 0, 128));
 		current_view = view_pause;
 		context->input.selected_widget = 0;
-		current_system->request_exit(current_system);
+		system_request_exit(current_system, 1);
 	} else if (current_system && !set_binding) {
 		clear_view_stack();
 		show_play_view();