summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/Src/AudioCommon.cpp
diff options
context:
space:
mode:
authorrog <rdragoon@optonline.net>2012-10-20 19:54:38 -0400
committerrog <rdragoon@optonline.net>2012-10-20 22:26:40 -0400
commit9070e7ff8c45a7ca4c0bcb0e728dd4720abab7be (patch)
treed87ad32a98fc77e2818e0f14df0aa9e2fc7b1411 /Source/Core/AudioCommon/Src/AudioCommon.cpp
parent92d2f5dee21e19cccdba9d3ef0d10a9097dcb6d2 (diff)
misc movie cleanup and fixes
Diffstat (limited to 'Source/Core/AudioCommon/Src/AudioCommon.cpp')
-rw-r--r--Source/Core/AudioCommon/Src/AudioCommon.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/Src/AudioCommon.cpp b/Source/Core/AudioCommon/Src/AudioCommon.cpp
index b73757cad5..8a568448a3 100644
--- a/Source/Core/AudioCommon/Src/AudioCommon.cpp
+++ b/Source/Core/AudioCommon/Src/AudioCommon.cpp
@@ -26,6 +26,7 @@
#include "CoreAudioSoundStream.h"
#include "OpenALStream.h"
#include "PulseAudioStream.h"
+#include "../../Core/Src/Movie.h"
namespace AudioCommon
{
@@ -115,7 +116,12 @@ namespace AudioCommon
return backends;
}
- bool UseJIT() {
+ bool UseJIT()
+ {
+ if (!Movie::IsDSPHLE() && Movie::IsPlayingInput() && Movie::IsConfigSaved())
+ {
+ return true;
+ }
return ac_Config.m_EnableJIT;
}