32-bit build fix, proper fix for lfd. THP glitches are gone! (at least in the games I tried)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@997 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
9e14b2575d
commit
9e23e6aec4
3 files changed
+15
-7
No files matched your search
@@ -85,7 +85,11 @@ LONG NTAPI Handler(PEXCEPTION_POINTERS pPtrs)
|
||||
// We no longer touch Rip, since we return back to the instruction, after overwriting it with a
|
||||
// trampoline jump and some nops
|
||||
if (new_rip)
|
||||
#ifdef _M_X64
|
||||
ctx->Rip = (DWORD_PTR)new_rip;
|
||||
#else
|
||||
ctx->Eip = (DWORD_PTR)new_rip;
|
||||
#endif
|
||||
}
|
||||
return (DWORD)EXCEPTION_CONTINUE_EXECUTION;
|
||||
|
||||
|
||||
Reference in new issue
Block a user