Gecko code: Fixed the thread-safe problem reported in r6227.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6230 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
bc1e0c24e8
commit
a5333f80d1
|
@ -93,9 +93,9 @@ void SetActiveCodes(const std::vector<GeckoCode>& gcodes)
|
||||||
active_codes.push_back(*gcodes_iter);
|
active_codes.push_back(*gcodes_iter);
|
||||||
}
|
}
|
||||||
|
|
||||||
active_codes_lock.Leave();
|
|
||||||
|
|
||||||
inserted_asm_codes.clear();
|
inserted_asm_codes.clear();
|
||||||
|
|
||||||
|
active_codes_lock.Leave();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RunGeckoCode(GeckoCode& gecko_code)
|
bool RunGeckoCode(GeckoCode& gecko_code)
|
||||||
|
|
Loading…
Reference in New Issue