Seems I screwed up the JIT cache clearing a while ago. This should fix it.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1936 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-01-19 19:01:40 +00:00
parent c2c6e2bd47
commit 80116f4966
2 changed files with 9 additions and 5 deletions

View File

@ -200,6 +200,14 @@ namespace CPUCompare
asm_routines.Init();
}
void Jit64::ClearCache()
{
blocks.Clear();
trampolines.ClearCodeSpace();
ClearCodeSpace();
}
void Jit64::Shutdown()
{
FreeCodeSpace();

View File

@ -168,11 +168,7 @@ public:
void NotifyBreakpoint(u32 em_address, bool set);
void ClearCache()
{
blocks.Clear();
trampolines.ClearCodeSpace();
}
void ClearCache();
// Run!