pgl: fix minor bugs in impl

This commit is contained in:
Michael Scire
2020-04-16 10:09:53 -07:00
parent db55e9f6b1
commit 2421ba6c96
3 changed files with 11 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ namespace ams::diag {
inline void DebugLog(const char *format, ...) __attribute__((format(printf, 1, 2)));
#ifdef AMS_ENABLE_DEBUG_PRINT
os::Mutex g_debug_log_lock;
os::Mutex g_debug_log_lock(true);
char g_debug_buffer[0x400];
void DebugLogImpl(const char *format, ::std::va_list vl) {