mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-25 19:44:57 +00:00
small fix
This commit is contained in:
parent
7764f13cce
commit
58bd5073c1
@ -740,7 +740,7 @@ 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