More MIPSState * plumbing (manual)

This commit is contained in:
Henrik Rydgård committed 2026-08-12 14:02:19 +02:00
1 parent c9c886d78f
commit e9a3449ede
37 files changed
+130 -123

No files matched your search

+1 -1
View File
@@ -159,7 +159,7 @@ public:
if (referenceIndex == REF_INDEX_USEC)
return (uint32_t)CoreTiming::GetGlobalTimeUs(); // Loses information
if (referenceIndex == REF_INDEX_TICKS)
return (uint32_t)CoreTiming::GetTicks();
return (uint32_t)CoreTiming::GetTicks(currentMIPS);
if ((referenceIndex & ~(REF_INDEX_FPU | REF_INDEX_FPU_INT)) < 32)
return cpu->GetRegValue(1, referenceIndex & ~(REF_INDEX_FPU | REF_INDEX_FPU_INT));
if ((referenceIndex & ~(REF_INDEX_VFPU | REF_INDEX_VFPU_INT)) < 128)