From 1beec404456ed8720a02e038ecf141587137701a Mon Sep 17 00:00:00 2001 From: Squall Leonhart Date: Thu, 22 Jun 2023 12:11:31 +1000 Subject: [PATCH] Fix logging related crash in KPADGetUnifiedWpadStatus (#875) --- src/Cafe/OS/libs/padscore/padscore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cafe/OS/libs/padscore/padscore.cpp b/src/Cafe/OS/libs/padscore/padscore.cpp index 661af5b0..47f3bc4f 100644 --- a/src/Cafe/OS/libs/padscore/padscore.cpp +++ b/src/Cafe/OS/libs/padscore/padscore.cpp @@ -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(status).GetMPTR(), count); if (channel < InputManager::kMaxWPADControllers) {