diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index b71b11b01f..5b87114928 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -2003,6 +2003,11 @@ s32 error_code::error_report(s32 result, const char* fmt, const fmt_type_info* s // Format log message (use preallocated buffer) g_tls_error_str.clear(); fmt::append(g_tls_error_str, "'%s' failed with 0x%08x", func, result); + + // Add spacer between error and fmt if necessary + if (fmt[0] != ' ') + g_tls_error_str += " : "; + fmt::raw_append(g_tls_error_str, fmt, sup, args); // Update stats and check log threshold