aboutsummaryrefslogtreecommitdiff
path: root/source/nds/entry.cpp
diff options
context:
space:
mode:
authorNebuleon Fumika2013-02-01 20:09:24 -0500
committerNebuleon Fumika2013-02-01 20:09:24 -0500
commitd4dd98e8c180532f24de342482e54f28874f06ef (patch)
tree17da3f95be8552681c29fe411e1266d422bb252a /source/nds/entry.cpp
parente61731a524028f8286f83a82686b2f4e236c1a9d (diff)
downloadsnes9x2005-d4dd98e8c180532f24de342482e54f28874f06ef.tar.gz
snes9x2005-d4dd98e8c180532f24de342482e54f28874f06ef.tar.bz2
snes9x2005-d4dd98e8c180532f24de342482e54f28874f06ef.zip
Add an option that controls which element should be more fluid, per game: video or audio.
This makes most games playable, but the player can choose to get fluid audio instead of fluid video in sound-test modes or games with epic soundtracks.
Diffstat (limited to 'source/nds/entry.cpp')
-rw-r--r--source/nds/entry.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/nds/entry.cpp b/source/nds/entry.cpp
index a55c10d..1cf31df 100644
--- a/source/nds/entry.cpp
+++ b/source/nds/entry.cpp
@@ -350,6 +350,18 @@ void game_set_frameskip()
Settings.SkipFrames = game_config.frameskip_value - 1 /* 1 -> 0 and so on */;
}
}
+
+void game_set_fluidity()
+{
+ if( game_config.SoundSync == 1)
+ {
+ Settings.SoundSync = TRUE;
+ }
+ else
+ {
+ Settings.SoundSync = FALSE;
+ }
+}
void init_sfc_setting(void)
{