Emit mspack debug messages to Xenia.

This commit is contained in:
gibbed
2018-11-24 20:50:30 -06:00
parent 08fb15fcca
commit 7f4f90b1ea
3 changed files with 20 additions and 2 deletions

10
third_party/mspack/logging.cc vendored Normal file
View File

@@ -0,0 +1,10 @@
#include "xenia/base/logging.h"
extern "C" void xenia_log(const char* fmt, ...) {
char buffer[128];
va_list args;
va_start(args, fmt);
vsnprintf(buffer, sizeof(buffer), fmt, args);
va_end(args);
XELOGW("mspack: %s", buffer);
}