[Project64] Fix recompiler log output
This commit is contained in:
parent
f28823ec50
commit
22ea56721e
|
@ -23,7 +23,7 @@ void Recompiler_Log_Message(const char * strFormat, ...)
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
va_start(args, strFormat);
|
va_start(args, strFormat);
|
||||||
size_t nlen = _vscprintf(strFormat, args);
|
size_t nlen = _vscprintf(strFormat, args) + 1;
|
||||||
char * buffer = (char *)alloca((nlen + 3) * sizeof(char));
|
char * buffer = (char *)alloca((nlen + 3) * sizeof(char));
|
||||||
if (buffer != NULL)
|
if (buffer != NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue