hle/kernel: Migrate logging macros

This commit is contained in:
NarcolepticK 2018-06-22 18:49:31 -04:00
parent f831a08224
commit a8110cfd3f
11 changed files with 128 additions and 125 deletions

View file

@ -63,9 +63,9 @@ ResultCode Mutex::Release(Thread* thread) {
// We can only release the mutex if it's held by the calling thread.
if (thread != holding_thread) {
if (holding_thread) {
LOG_ERROR(
NGLOG_ERROR(
Kernel,
"Tried to release a mutex (owned by thread id %u) from a different thread id %u",
"Tried to release a mutex (owned by thread id {}) from a different thread id {}",
holding_thread->thread_id, thread->thread_id);
}
return ResultCode(ErrCodes::WrongLockingThread, ErrorModule::Kernel,