Emit mspack debug messages to Xenia.
This commit is contained in:
10
third_party/mspack/logging.cc
vendored
Normal file
10
third_party/mspack/logging.cc
vendored
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user