mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Fix log format misuse
Harden log channel methods against non-constant string.
This commit is contained in:
parent
a29d4150df
commit
8f604ddded
4 changed files with 8 additions and 8 deletions
|
@ -209,11 +209,11 @@ error_code cellMsgDialogOpen2(u32 type, vm::cptr<char> msgString, vm::ptr<CellMs
|
|||
|
||||
if (_type.se_normal)
|
||||
{
|
||||
cellSysutil.warning(msgString.get_ptr());
|
||||
cellSysutil.warning("%s", msgString);
|
||||
}
|
||||
else
|
||||
{
|
||||
cellSysutil.error(msgString.get_ptr());
|
||||
cellSysutil.error("%s", msgString);
|
||||
}
|
||||
|
||||
if (auto manager = g_fxo->get<rsx::overlays::display_manager>())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue