From b5fc1efad52f934cb8f4a85108f98ec0b6eec50e Mon Sep 17 00:00:00 2001 From: illusion0001 <37698908+illusion0001@users.noreply.github.com> Date: Fri, 23 Apr 2021 21:33:46 +0900 Subject: [PATCH] XMA: Set log level for unhandled register to warning --- src/xenia/apu/xma_decoder.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xenia/apu/xma_decoder.cc b/src/xenia/apu/xma_decoder.cc index 5c0476eea..b15bd7fe2 100644 --- a/src/xenia/apu/xma_decoder.cc +++ b/src/xenia/apu/xma_decoder.cc @@ -277,10 +277,10 @@ uint32_t XmaDecoder::ReadRegister(uint32_t addr) { default: { const auto register_info = register_file_.GetRegisterInfo(r); if (register_info) { - XELOGE("XMA: Read from unhandled register ({:04X}, {})", r, + XELOGW("XMA: Read from unhandled register ({:04X}, {})", r, register_info->name); } else { - XELOGE("XMA: Read from unknown register ({:04X})", r); + XELOGW("XMA: Read from unknown register ({:04X})", r); } break; } @@ -348,10 +348,10 @@ void XmaDecoder::WriteRegister(uint32_t addr, uint32_t value) { default: { const auto register_info = register_file_.GetRegisterInfo(r); if (register_info) { - XELOGE("XMA: Write to unhandled register ({:04X}, {}): {:08X}", r, + XELOGW("XMA: Write to unhandled register ({:04X}, {}): {:08X}", r, register_info->name, value); } else { - XELOGE("XMA: Write to unknown register ({:04X}): {:08X}", r, value); + XELOGW("XMA: Write to unknown register ({:04X}): {:08X}", r, value); } break; }