mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-09 14:05:28 -04:00
time macro
This commit is contained in:
@@ -26,7 +26,7 @@ public:
|
||||
}
|
||||
|
||||
void end() {
|
||||
mCost = ((OSGetTick() - mTick) * 8) / ((*(u32*)0x800000F8 / 4) / 125000);
|
||||
mCost = OSTicksToMicroseconds(OSGetTick() - mTick);
|
||||
if (mCost == 0) {
|
||||
mCost = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user