DSPLLE: Fix debug logging in ReadMailboxLow

The # option means that 0x is prepended already, so the old code resulted in 0x0xDEADBEEF instead of the intended 0xDEADBEEF. WriteMailboxLow was already correct.
This commit is contained in:
Pokechu22 2022-06-08 15:55:36 -07:00
parent 3ceda1df8c
commit c38c2b1aaa

View file

@ -48,7 +48,7 @@ u16 SDSP::ReadMailboxLow(Mailbox mailbox)
#if defined(_DEBUG) || defined(DEBUGFAST)
const char* const type = mailbox == Mailbox::DSP ? "DSP" : "CPU";
DEBUG_LOG_FMT(DSP_MAIL, "{}(RM) B:{} M:0x{:#010x} (pc={:#06x})", type, static_cast<int>(mailbox),
DEBUG_LOG_FMT(DSP_MAIL, "{}(RM) B:{} M:{:#010x} (pc={:#06x})", type, static_cast<int>(mailbox),
PeekMailbox(mailbox), pc);
#endif