aboutsummaryrefslogtreecommitdiff
path: root/backends/mixer
diff options
context:
space:
mode:
authorCpasjuste2018-09-20 16:33:08 +0200
committerFilippos Karapetis2019-05-12 11:59:44 +0300
commit488bbb267a4a96db51794d424131817a8afc50c6 (patch)
tree7615c92e6297ca670333705047cab61735a1d7c0 /backends/mixer
parent29028731c65e299aa264231b7caa4d6e853f0b85 (diff)
downloadscummvm-rg350-488bbb267a4a96db51794d424131817a8afc50c6.tar.gz
scummvm-rg350-488bbb267a4a96db51794d424131817a8afc50c6.tar.bz2
scummvm-rg350-488bbb267a4a96db51794d424131817a8afc50c6.zip
SWITCH: add nintendo switch support
Diffstat (limited to 'backends/mixer')
-rw-r--r--backends/mixer/sdl/sdl-mixer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/mixer/sdl/sdl-mixer.cpp b/backends/mixer/sdl/sdl-mixer.cpp
index 11a45ebcb2..0af0748a2a 100644
--- a/backends/mixer/sdl/sdl-mixer.cpp
+++ b/backends/mixer/sdl/sdl-mixer.cpp
@@ -32,7 +32,7 @@
#if defined(GP2X)
#define SAMPLES_PER_SEC 11025
-#elif defined(PLAYSTATION3) || defined(PSP2)
+#elif defined(PLAYSTATION3) || defined(PSP2) || defined(NINTENDO_SWITCH)
#define SAMPLES_PER_SEC 48000
#else
#define SAMPLES_PER_SEC 44100