diff libblastem.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 b387f1c5a1d0
children f77d36a975ff
line wrap: on
line diff
--- a/libblastem.c	Sat May 09 21:37:35 2020 -0700
+++ b/libblastem.c	Sat May 09 23:25:51 2020 -0700
@@ -381,7 +381,7 @@
 		last_height = height;
 	}
 	retro_video_refresh(fb + overscan_left + LINEBUF_SIZE * overscan_top, width, height, LINEBUF_SIZE * sizeof(uint32_t));
-	current_system->request_exit(current_system);
+	system_request_exit(current_system, 0);
 }
 
 uint8_t render_get_active_framebuffer(void)