summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2019-06-24 09:11:38 -0700
committerMichael Pavone <pavone@retrodev.com>2019-06-24 09:11:38 -0700
commit9f112ee9e97c26304799dfd84caadeeb2be46fe0 (patch)
tree29eee32f09554511b2cb1181192da8a33134780f
parent0ac884eaf32a35bf69e843d0acfab9817edc5263 (diff)
Fix libretro and stateview targets
-rw-r--r--libblastem.c4
-rw-r--r--stateview.c2
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;
}