Fixing GetTickCount.

There's likely a better way to do this (on demand), but this works for now.
This commit is contained in:
Ben Vanik
2015-02-01 09:05:35 -08:00
parent 3454d1bdf5
commit cfcd6118c2
3 changed files with 28 additions and 6 deletions

View File

@@ -277,6 +277,8 @@ SHIM_CALL KeQueryPerformanceFrequency_shim(PPCContext* ppc_state,
// XELOGD(
// "KeQueryPerformanceFrequency()");
// TODO(benvanik): return fixed 50000000?
uint64_t result = 0;
LARGE_INTEGER frequency;
if (QueryPerformanceFrequency(&frequency)) {