aboutsummaryrefslogtreecommitdiff
path: root/source/nds/entry.cpp
diff options
context:
space:
mode:
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;