mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-23 01:29:19 +01:00
Fix logging related crash in KPADGetUnifiedWpadStatus (#875)
This commit is contained in:
parent
cd3fe0685f
commit
1beec40445
@ -287,7 +287,7 @@ void padscoreExport_KPADGetUnifiedWpadStatus(PPCInterpreter_t* hCPU)
|
|||||||
ppcDefineParamPtr(status, KPADUnifiedWpadStatus_t, 1);
|
ppcDefineParamPtr(status, KPADUnifiedWpadStatus_t, 1);
|
||||||
ppcDefineParamU32(count, 2);
|
ppcDefineParamU32(count, 2);
|
||||||
|
|
||||||
cemuLog_log(LogType::InputAPI, "KPADGetUnifiedWpadStatus({}, 0x{:x}, 0x{:x})", channel, fmt::ptr(status), count);
|
cemuLog_log(LogType::InputAPI, "KPADGetUnifiedWpadStatus({}, 0x{:08x}, 0x{:x})", channel, MEMPTR<void>(status).GetMPTR(), count);
|
||||||
|
|
||||||
if (channel < InputManager::kMaxWPADControllers)
|
if (channel < InputManager::kMaxWPADControllers)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user