Merge branch 'master' into d3d12

This commit is contained in:
Triang3l
2018-10-22 23:15:07 +03:00
committed by GitHub
7 changed files with 61 additions and 42 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