mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 07:49:19 +01:00
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:
parent
3ceda1df8c
commit
c38c2b1aaa
@ -48,7 +48,7 @@ u16 SDSP::ReadMailboxLow(Mailbox mailbox)
|
|||||||
|
|
||||||
#if defined(_DEBUG) || defined(DEBUGFAST)
|
#if defined(_DEBUG) || defined(DEBUGFAST)
|
||||||
const char* const type = mailbox == Mailbox::DSP ? "DSP" : "CPU";
|
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);
|
PeekMailbox(mailbox), pc);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user