win32-dont print garbage in console when initializing
This commit is contained in:
parent
b16f5e8c07
commit
37ebeb0682
desmume/src/windows
|
@ -135,5 +135,8 @@ void CloseConsole() {
|
|||
|
||||
void printlog(const char *fmt, ...)
|
||||
{
|
||||
printf(fmt);
|
||||
va_list args;
|
||||
va_start (args, fmt);
|
||||
vprintf (fmt, args);
|
||||
va_end (args);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue