mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 14:31:17 +12:00
Fix logging related crash in KPADGetUnifiedWpadStatus (#875)
This commit is contained in:
parent
cd3fe0685f
commit
1beec40445
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue