[Kernel] Fix _snwprintf not having format_core wide = true
This commit is contained in:
parent
2fa7607547
commit
67f0e487f4
|
@ -925,7 +925,7 @@ SHIM_CALL _snwprintf_shim(PPCContext* ppc_context, KernelState* kernel_state) {
|
|||
StackArgList args(ppc_context, 3);
|
||||
WideStringFormatData data(format);
|
||||
|
||||
int32_t count = format_core(ppc_context, data, args, false);
|
||||
int32_t count = format_core(ppc_context, data, args, true);
|
||||
if (count < 0) {
|
||||
if (buffer_count > 0) {
|
||||
buffer[0] = '\0'; // write a null, just to be safe
|
||||
|
|
Loading…
Reference in New Issue