aboutsummaryrefslogtreecommitdiff
path: root/plat_sdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'plat_sdl.c')
-rw-r--r--plat_sdl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/plat_sdl.c b/plat_sdl.c
index 010d1b6..d04c8c2 100644
--- a/plat_sdl.c
+++ b/plat_sdl.c
@@ -413,6 +413,14 @@ int plat_init(void)
return 0;
}
+int plat_reinit(void)
+{
+ audio.in_sample_rate = sample_rate;
+ plat_sound_resize_buffer();
+ scale_update_scaler();
+ return 0;
+}
+
void plat_finish(void)
{
plat_sound_finish();