A parenthesis trolled me.

svn path=/trunk/; revision=69703
This commit is contained in:
Hermès Bélusca-Maïto 2015-10-25 23:13:37 +00:00
parent 4883da7f5c
commit dbff9a412d

View file

@ -154,7 +154,7 @@ struct thunkCode
m_mov = 0x042444C7;
m_this = PtrToUlong(pThis);
m_jmp = 0xe9;
m_relproc = DWORD((INT_PTR)proc - (INT_PTR)this + sizeof(thunkCode)));
m_relproc = DWORD((INT_PTR)proc - (INT_PTR)this + sizeof(thunkCode));
FlushInstructionCache(GetCurrentProcess(), this, sizeof(thunkCode));
}
};