From 18e56b68fd90e19b699a17320646c9628f97f160 Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Sat, 9 Feb 2013 23:41:06 -0500 Subject: Add retro sound as a setting in all languages except Chinese. --- source/nds/entry.cpp | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'source/nds/entry.cpp') diff --git a/source/nds/entry.cpp b/source/nds/entry.cpp index c4cc389..ec1be4e 100644 --- a/source/nds/entry.cpp +++ b/source/nds/entry.cpp @@ -405,6 +405,20 @@ void game_set_fluidity() Settings.SoundSync = FALSE; } } + +void game_set_retro(void) +{ + if (game_config.RetroSound == 1) + { + Settings.InterpolatedSound = FALSE; + S9xSetEightBitConsoleSound (TRUE); + } + else + { + Settings.InterpolatedSound = TRUE; + S9xSetEightBitConsoleSound (FALSE); + } +} void init_sfc_setting(void) { @@ -426,9 +440,6 @@ void init_sfc_setting(void) Settings.APUEnabled = Settings.NextAPUEnabled = TRUE; Settings.FixFrequency = 1; - S9xSetEightBitConsoleSound (TRUE); - - Settings.H_Max = SNES_CYCLES_PER_SCANLINE; Settings.SkipFrames = AUTO_FRAMERATE; Settings.ShutdownMaster = TRUE; -- cgit v1.2.3