DSP analyzer workaround. Should fix DSPJIT on thread problems.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7576 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Marko Pusljar 2011-06-02 12:58:24 +00:00
parent 1fa17b7e29
commit 77a747fedb
1 changed files with 2 additions and 1 deletions

View File

@ -117,7 +117,8 @@ void DSPEmitter::checkExceptions(u32 retval)
bool DSPEmitter::FlagsNeeded()
{
if (DSPAnalyzer::code_flags[compilePC] & DSPAnalyzer::CODE_UPDATE_SR)
if (!(DSPAnalyzer::code_flags[compilePC] & DSPAnalyzer::CODE_START_OF_INST) ||
(DSPAnalyzer::code_flags[compilePC] & DSPAnalyzer::CODE_UPDATE_SR))
return true;
else
return false;