From 9f112ee9e97c26304799dfd84caadeeb2be46fe0 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Mon, 24 Jun 2019 09:11:38 -0700 Subject: Fix libretro and stateview targets --- libblastem.c | 4 ++-- stateview.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libblastem.c b/libblastem.c index 5254e7e..d02a318 100644 --- a/libblastem.c +++ b/libblastem.c @@ -353,12 +353,12 @@ void render_infobox(char *title, char *message) { } -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; diff --git a/stateview.c b/stateview.c index 0eca39d..f2fb8f1 100644 --- a/stateview.c +++ b/stateview.c @@ -122,6 +122,6 @@ int main(int argc, char ** argv) 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; } -- cgit v1.2.3