time macro

This commit is contained in:
Jcw87
2023-12-30 00:01:26 -08:00
parent 2aab59afe7
commit 6959167478
+1 -1
View File
@@ -26,7 +26,7 @@ public:
}
void end() {
mCost = ((OSGetTick() - mTick) * 8) / ((*(u32*)0x800000F8 / 4) / 125000);
mCost = OSTicksToMicroseconds(OSGetTick() - mTick);
if (mCost == 0) {
mCost = 1;
}