[Kernel] Fix _snwprintf not having format_core wide = true

This commit is contained in:
emoose 2018-10-22 18:00:01 +01:00
parent 2fa7607547
commit 67f0e487f4
1 changed files with 1 additions and 1 deletions

View File

@ -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