aboutsummaryrefslogtreecommitdiff
path: root/source/nds/entry.cpp
diff options
context:
space:
mode:
authorNebuleon Fumika2013-02-09 23:41:06 -0500
committerNebuleon Fumika2013-02-09 23:41:06 -0500
commit18e56b68fd90e19b699a17320646c9628f97f160 (patch)
treedea4dcdb12f4bfba27b6c5e6790a68e9fa179951 /source/nds/entry.cpp
parent6e2e64109d1714ff2cf8764ec6b854ec3eb504f1 (diff)
downloadsnes9x2005-18e56b68fd90e19b699a17320646c9628f97f160.tar.gz
snes9x2005-18e56b68fd90e19b699a17320646c9628f97f160.tar.bz2
snes9x2005-18e56b68fd90e19b699a17320646c9628f97f160.zip
Add retro sound as a setting in all languages except Chinese.
Diffstat (limited to 'source/nds/entry.cpp')
-rw-r--r--source/nds/entry.cpp17
1 files changed, 14 insertions, 3 deletions
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;