changeset 1868:bfacedbae5f0

Fix libretro and stateview targets
author Michael Pavone <pavone@retrodev.com>
date Mon, 24 Jun 2019 09:11:38 -0700
parents fa4745d42093
children dc94354eab66
files libblastem.c stateview.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libblastem.c	Thu Jun 20 23:28:18 2019 -0700
+++ b/libblastem.c	Mon Jun 24 09:11:38 2019 -0700
@@ -353,12 +353,12 @@
 {
 }
 
-struct audio_source {
+typedef struct {
 	int32_t freq;
 	int32_t left_accum;
 	int32_t right_accum;
 	int32_t num_samples;
-};
+} audio_source;
 
 static audio_source *audio_sources[8];
 static uint8_t num_audio_sources;
--- a/stateview.c	Thu Jun 20 23:28:18 2019 -0700
+++ b/stateview.c	Mon Jun 24 09:11:38 2019 -0700
@@ -122,6 +122,6 @@
 		puts("Forcing display on");
 		vdp_control_port_write(context, 0x8000 | REG_MODE_2 << 8 | context->regs[REG_MODE_2] | DISPLAY_ENABLE);
 	}
-    render_wait_quit(context);
+    render_wait_quit();
     return 0;
 }