diff options
author | neonloop | 2021-08-27 00:30:47 +0000 |
---|---|---|
committer | neonloop | 2021-08-27 00:30:47 +0000 |
commit | 3f527c7426cbbdbd04962545b801c944434a0377 (patch) | |
tree | f9ba8499e54dcafb2fea259522fd4ff1b9f66f2b /plat_sdl.c | |
parent | 0060a16ad707c1d6f2013947821ff55e377ceb92 (diff) | |
download | picoarch-3f527c7426cbbdbd04962545b801c944434a0377.tar.gz picoarch-3f527c7426cbbdbd04962545b801c944434a0377.tar.bz2 picoarch-3f527c7426cbbdbd04962545b801c944434a0377.zip |
Adds a standalone multi-emulator mode
When starting without arguments, can select a core in the current
directory and some content (a game). Allows loading a different game
from the in-game menu.
Diffstat (limited to 'plat_sdl.c')
-rw-r--r-- | plat_sdl.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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(); |