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:
nodchip 2010-09-27 01:18:25 +00:00
parent bc1e0c24e8
commit a5333f80d1
1 changed files with 2 additions and 2 deletions

View File

@ -93,9 +93,9 @@ void SetActiveCodes(const std::vector<GeckoCode>& gcodes)
active_codes.push_back(*gcodes_iter);
}
active_codes_lock.Leave();
inserted_asm_codes.clear();
active_codes_lock.Leave();
}
bool RunGeckoCode(GeckoCode& gecko_code)