fix idle skipping in wario shake dimension

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1011 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2008-10-29 22:43:27 +00:00
parent e36ca4705d
commit 61ea15cfa6
1 changed files with 2 additions and 1 deletions

View File

@ -97,7 +97,8 @@ namespace Jit64
if (Core::GetStartupParameter().bSkipIdle &&
inst.OPCD == 32 &&
(inst.hex & 0xFFFF0000) == 0x800D0000 &&
Memory::ReadUnchecked_U32(js.compilerPC + 4) == 0x28000000 &&
(Memory::ReadUnchecked_U32(js.compilerPC + 4) == 0x28000000 ||
(Core::GetStartupParameter().bWii && Memory::ReadUnchecked_U32(js.compilerPC + 4) == 0x2C000000)) &&
Memory::ReadUnchecked_U32(js.compilerPC + 8) == 0x4182fff8)
{
gpr.Flush(FLUSH_ALL);