[PATCH 2/4] ntdll: Read Qpc frequency from user shared data.
Rémi Bernon
rbernon at codeweavers.com
Mon Mar 22 04:42:50 CDT 2021
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
dlls/ntdll/time.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/time.c b/dlls/ntdll/time.c
index f92443500d8..c0eb1f7f923 100644
--- a/dlls/ntdll/time.c
+++ b/dlls/ntdll/time.c
@@ -389,7 +389,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH RtlQueryPerformanceCounter( LARGE_INTEGER *counter
*/
BOOL WINAPI DECLSPEC_HOTPATCH RtlQueryPerformanceFrequency( LARGE_INTEGER *frequency )
{
- frequency->QuadPart = TICKSPERSEC;
+ frequency->QuadPart = user_shared_data->QpcFrequency;
return TRUE;
}
--
2.30.2
More information about the wine-devel
mailing list