mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
misc movie cleanup and fixes
This commit is contained in:
parent
92d2f5dee2
commit
9070e7ff8c
3 changed files with 66 additions and 61 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue