mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-25 18:46:55 +01:00
procui: swap tickDelay
and priority
args in callbacks (#1408)
This commit is contained in:
parent
813f9148b1
commit
4ac1ab162a
@ -427,7 +427,7 @@ namespace proc_ui
|
|||||||
}
|
}
|
||||||
if(callbackType != ProcUICallbackId::AcquireForeground)
|
if(callbackType != ProcUICallbackId::AcquireForeground)
|
||||||
priority = -priority;
|
priority = -priority;
|
||||||
AddCallbackInternal(funcPtr, userParam, priority, 0, s_CallbackTables[stdx::to_underlying(callbackType)][coreIndex]);
|
AddCallbackInternal(funcPtr, userParam, 0, priority, s_CallbackTables[stdx::to_underlying(callbackType)][coreIndex]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProcUIRegisterCallback(ProcUICallbackId callbackType, void* funcPtr, void* userParam, sint32 priority)
|
void ProcUIRegisterCallback(ProcUICallbackId callbackType, void* funcPtr, void* userParam, sint32 priority)
|
||||||
@ -437,7 +437,7 @@ namespace proc_ui
|
|||||||
|
|
||||||
void ProcUIRegisterBackgroundCallback(void* funcPtr, void* userParam, uint64 tickDelay)
|
void ProcUIRegisterBackgroundCallback(void* funcPtr, void* userParam, uint64 tickDelay)
|
||||||
{
|
{
|
||||||
AddCallbackInternal(funcPtr, userParam, 0, tickDelay, s_backgroundCallbackList);
|
AddCallbackInternal(funcPtr, userParam, tickDelay, 0, s_backgroundCallbackList);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FreeCallbackChain(ProcUICallbackList& callbackList)
|
void FreeCallbackChain(ProcUICallbackList& callbackList)
|
||||||
|
Loading…
Reference in New Issue
Block a user