fixes for vs

This commit is contained in:
Asuro
2025-02-08 02:21:52 +01:00
parent b263c3aa82
commit 14e923873a
4 changed files with 19 additions and 9 deletions

View File

@@ -9,6 +9,8 @@ namespace
void Log(const char *format, ...)
{
va_list args;
va_start(args, format);
bx::snprintf(LineBuffer, sizeof(LineBuffer), "%s\n", format);
bx::printf(LineBuffer, args);
bx::vprintf(LineBuffer, args);
va_end(args);
}