mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix wrong timer reading in MIPSDebugInterface, thanks Nemoumbra
This commit is contained in:
parent
7cddd09e3c
commit
22c9437319
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue