mirror of
https://github.com/LIV2/WinUAE.git
synced 2025-12-06 00:12:52 +00:00
logging.cpp: trivial changes
This commit is contained in:
parent
76a21cf6ab
commit
82e1de7210
11
logging.cpp
11
logging.cpp
@ -2,13 +2,10 @@
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
//UAEAPI void UAECALL uae_log(const char *format, ...)
|
||||
void UAECALL uae_log(const char *format, ...)
|
||||
{
|
||||
char buffer[1000];
|
||||
va_list ap;
|
||||
va_start(ap, format);
|
||||
vsnprintf(buffer, 1000, format, ap);
|
||||
write_log("%s", buffer);
|
||||
va_end(ap);
|
||||
/* Redirect UAE_LOG_VA_ARGS_FULL to use write_log instead */
|
||||
#define uae_log write_log
|
||||
UAE_LOG_VA_ARGS_FULL(format);
|
||||
#undef uae_log
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user