mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-09 17:14:47 -06:00
Fix fmt format spec crash in WPADGetInfoAsync
Fix crash in WPADGetInfoAsync where applying {:08x} format spec to a void const* returned by fmt::ptr() causes fmt to throw an invalid format spec exception
This commit is contained in:
parent
a04eb53822
commit
8e86aac1b0
@ -134,7 +134,7 @@ void padscoreExport_WPADGetInfoAsync(PPCInterpreter_t* hCPU)
|
||||
ppcDefineParamU32(channel, 0);
|
||||
ppcDefineParamStructPtr(wpadInfo, WPADInfo_t, 1);
|
||||
ppcDefineParamMPTR(callbackFunc, 2);
|
||||
cemuLog_log(LogType::InputAPI, "WPADGetInfoAsync({}, 0x{:08x}, 0x{:08x})", channel, fmt::ptr(wpadInfo), callbackFunc);
|
||||
cemuLog_log(LogType::InputAPI, "WPADGetInfoAsync({}, {:p}, 0x{:08x})", channel, fmt::ptr(wpadInfo), callbackFunc);
|
||||
|
||||
if (channel < InputManager::kMaxWPADControllers)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user