Fi x an issue with EmuPush/PopDwordPtrFs00

This commit is contained in:
Luke Usher 2016-08-12 16:26:55 +01:00
parent bea4f63f20
commit 508d421e81
1 changed files with 5 additions and 3 deletions

View File

@ -220,11 +220,10 @@ __declspec(naked) void EmuMFs00Esp()
}
}
__declspec(thread) uint32 returnAddr;
__declspec(thread) uint32 temp;
__declspec(naked) void EmuPushDwordPtrFs00()
{
uint32 returnAddr;
uint32 temp;
__asm
{
pop returnAddr
@ -239,6 +238,9 @@ __declspec(naked) void EmuPushDwordPtrFs00()
__declspec(naked) void EmuPopDwordPtrFs00()
{
uint32 returnAddr;
uint32 temp;
__asm
{
pop returnAddr