Commit 90bc79f2 authored by retro-wertz's avatar retro-wertz
Browse files

Libretro: implement vbam logging using libretro logging api

parent f4b88ba6
......@@ -1042,3 +1042,15 @@ SoundDriver* systemSoundInit()
return new SoundRetro();
void log(const char* defaultMsg, ...)
va_list valist;
char buf[2048];
va_start(valist, defaultMsg);
vsnprintf(buf, 2048, defaultMsg, valist);
if (log_cb)
log_cb(RETRO_LOG_INFO, "%s", buf);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment