mirror of
https://github.com/zeldaret/mm.git
synced 2026-08-19 21:32:54 -04:00
Speedmeter OK (#1393)
* Match * data + bss * x * Small cleanup * maxVal * gUnkTimeAcc * SET_FULLSCREEN_VIEWPORT_HIRES * Update permuter settings * SET_FULLSCREEN_VIEWPORT_DYNAMIC
This commit is contained in:
+3
-3
@@ -4,7 +4,7 @@
|
||||
|
||||
vs32 gIrqMgrResetStatus = 0;
|
||||
volatile OSTime sIrqMgrResetTime = 0;
|
||||
volatile OSTime sIrqMgrRetraceTime = 0;
|
||||
volatile OSTime gIrqMgrRetraceTime = 0;
|
||||
s32 sIrqMgrRetraceCount = 0;
|
||||
|
||||
void IrqMgr_AddClient(IrqMgr* irqmgr, IrqMgrClient* client, OSMesgQueue* msgQueue) {
|
||||
@@ -109,11 +109,11 @@ void IrqMgr_HandlePRENMI500(IrqMgr* irqmgr) {
|
||||
IrqMgr_CheckStack();
|
||||
}
|
||||
void IrqMgr_HandleRetrace(IrqMgr* irqmgr) {
|
||||
if (sIrqMgrRetraceTime == 0) {
|
||||
if (gIrqMgrRetraceTime == 0) {
|
||||
if (irqmgr->lastFrameTime == 0) {
|
||||
irqmgr->lastFrameTime = osGetTime();
|
||||
} else {
|
||||
sIrqMgrRetraceTime = osGetTime() - irqmgr->lastFrameTime;
|
||||
gIrqMgrRetraceTime = osGetTime() - irqmgr->lastFrameTime;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user