From 67f0e487f4b545b2ce3c2b130f5af0a6917b4597 Mon Sep 17 00:00:00 2001 From: emoose Date: Mon, 22 Oct 2018 18:00:01 +0100 Subject: [PATCH] [Kernel] Fix _snwprintf not having format_core wide = true --- src/xenia/kernel/xboxkrnl/xboxkrnl_strings.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/kernel/xboxkrnl/xboxkrnl_strings.cc b/src/xenia/kernel/xboxkrnl/xboxkrnl_strings.cc index d5ef2d661..2ea47d5d9 100644 --- a/src/xenia/kernel/xboxkrnl/xboxkrnl_strings.cc +++ b/src/xenia/kernel/xboxkrnl/xboxkrnl_strings.cc @@ -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