mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-11-22 18:49:20 +01:00
Revert change to sound_reconfigure
that caused a de reference exception after MP3 playback.
This commit is contained in:
parent
3e37991b73
commit
f5521031e4
@ -19,7 +19,10 @@ static bool sfx_enabled = false;
|
||||
|
||||
static void sound_reconfigure (int frequency) {
|
||||
if ((frequency > 0) && (audio_get_frequency() != frequency)) {
|
||||
sound_deinit();
|
||||
if (sound_initialized) {
|
||||
mixer_close();
|
||||
audio_close();
|
||||
}
|
||||
audio_init(frequency, NUM_BUFFERS);
|
||||
mixer_init(NUM_CHANNELS);
|
||||
mp3player_mixer_init();
|
||||
|
Loading…
Reference in New Issue
Block a user