diff options
-rw-r--r-- | libblastem.c | 4 | ||||
-rw-r--r-- | 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; } |