Fix logging related crash in KPADGetUnifiedWpadStatus (#875)

This commit is contained in:
Squall Leonhart 2023-06-22 12:11:31 +10:00 committed by GitHub
parent cd3fe0685f
commit 1beec40445
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -287,7 +287,7 @@ void padscoreExport_KPADGetUnifiedWpadStatus(PPCInterpreter_t* hCPU)
ppcDefineParamPtr(status, KPADUnifiedWpadStatus_t, 1);
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)
{