mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-24 19:14:40 +00:00
small fix
This commit is contained in:
parent
7764f13cce
commit
58bd5073c1
@ -736,11 +736,11 @@ static int printf_ctx(VaCtx* ctx) {
|
|||||||
return result;
|
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);
|
const char* format = vaArgPtr<const char>(&ctx->va_list);
|
||||||
char buffer[256];
|
char buffer[256];
|
||||||
int result = _vsnprintf(_out_buffer, buffer, format, &ctx->va_list);
|
int result = _vsnprintf(_out_buffer, buffer, format, &ctx->va_list);
|
||||||
strcpy(buf, buffer);
|
std::strcpy(buf, buffer);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user