Skip to content

Commit 5940029

Browse files
committed
Minor changes
1 parent 3d52198 commit 5940029

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1776,7 +1776,10 @@ TEST_SUITE("Detours::Hook") {
17761776
bool __cdecl CPUID_RawHook(Detours::Hook::PRAW_CONTEXT pCTX) {
17771777
#endif
17781778

1779+
pCTX->m_unEAX = 0x00000001;
17791780
pCTX->m_unEBX = 0x11223344;
1781+
pCTX->m_unECX = 0x00000002;
1782+
pCTX->m_unEDX = 0x00000003;
17801783
pCTX->Stack.push(reinterpret_cast<char*>(RawCPUIDHook.GetTrampoline()) + RawCPUIDHook.GetFirstInstructionSize());
17811784

17821785
return true;

0 commit comments

Comments
 (0)