mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 10:43:44 +01:00
Fix wrong timer reading in MIPSDebugInterface, thanks Nemoumbra
This commit is contained in:
1 parent
7cddd09e3c
commit
22c9437319
1 file changed
+1
-1
@@ -159,7 +159,7 @@ public:
|
||||
return __KernelGetCurThreadModuleId();
|
||||
if (referenceIndex == REF_INDEX_USEC)
|
||||
return (uint32_t)CoreTiming::GetGlobalTimeUs(); // Loses information
|
||||
if (referenceIndex == REF_INDEX_USEC)
|
||||
if (referenceIndex == REF_INDEX_TICKS)
|
||||
return (uint32_t)CoreTiming::GetTicks();
|
||||
if ((referenceIndex & ~(REF_INDEX_FPU | REF_INDEX_FPU_INT)) < 32)
|
||||
return cpu->GetRegValue(1, referenceIndex & ~(REF_INDEX_FPU | REF_INDEX_FPU_INT));
|
||||
|
||||
Reference in new issue
Block a user