# HG changeset patch # User Michael Pavone # Date 1561392698 25200 # Node ID bfacedbae5f0e11b80afddad11a963e217384a70 # Parent fa4745d420936c6e98b9eaa61d8038df8dcf2922 Fix libretro and stateview targets diff -r fa4745d42093 -r bfacedbae5f0 libblastem.c --- 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; diff -r fa4745d42093 -r bfacedbae5f0 stateview.c --- 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; }