mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-20 11:35:45 +00:00
small fix
This commit is contained in:
parent
7764f13cce
commit
58bd5073c1
1 changed files with 2 additions and 2 deletions
|
@ -736,11 +736,11 @@ static int printf_ctx(VaCtx* ctx) {
|
|||
return result;
|
||||
}
|
||||
|
||||
static int fprintf_ctx(VaCtx* ctx,char *buf) {
|
||||
static int fprintf_ctx(VaCtx* ctx, char* buf) {
|
||||
const char* format = vaArgPtr<const char>(&ctx->va_list);
|
||||
char buffer[256];
|
||||
int result = _vsnprintf(_out_buffer, buffer, format, &ctx->va_list);
|
||||
strcpy(buf, buffer);
|
||||
std::strcpy(buf, buffer);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue