linux fix

This commit is contained in:
georgemoralis 2024-03-13 20:33:46 +02:00
parent 58bd5073c1
commit f7725f448d
2 changed files with 3 additions and 2 deletions

View file

@ -57,8 +57,8 @@ int PS4_SYSV_ABI ps4_fprintf(FILE* file, VA_ARGS) {
} else { } else {
VA_CTX(ctx); VA_CTX(ctx);
char buf[256]; char buf[256];
fprintf_ctx(&ctx,buf); fprintf_ctx(&ctx, buf);
return fprintf(file,"%s", buf); return fprintf(file, "%s", buf);
} }
} }

View file

@ -1,6 +1,7 @@
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project // SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
#include <cstdlib>
#include <cstring> #include <cstring>
#include "core/hle/libraries/libc/libc_string.h" #include "core/hle/libraries/libc/libc_string.h"