mirror of
https://github.com/decompals/wibo.git
synced 2025-12-12 22:56:13 +00:00
Fully functional guest<->host trampolines
This commit is contained in:
@@ -14,7 +14,7 @@ BOOL WINAPI QueryPerformanceCounter(LARGE_INTEGER *lpPerformanceCount) {
|
||||
kernel32::setLastError(ERROR_INVALID_PARAMETER);
|
||||
return FALSE;
|
||||
}
|
||||
*lpPerformanceCount = 0;
|
||||
lpPerformanceCount->QuadPart = 0;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ BOOL WINAPI QueryPerformanceFrequency(LARGE_INTEGER *lpFrequency) {
|
||||
kernel32::setLastError(ERROR_INVALID_PARAMETER);
|
||||
return FALSE;
|
||||
}
|
||||
*lpFrequency = 1;
|
||||
lpFrequency->QuadPart = 1;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user