From 65be904d152bb0e3ced845df51118987feff5b7a Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 14 Nov 2020 00:58:05 +1000 Subject: [PATCH] SPU: Only log warning about FIFO lost on writes --- src/core/spu.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/spu.cpp b/src/core/spu.cpp index bb3ec4019..dd3aa14a6 100644 --- a/src/core/spu.cpp +++ b/src/core/spu.cpp @@ -467,7 +467,9 @@ void SPU::WriteRegister(u32 offset, u16 value) // clear the fifo here? if (!m_transfer_fifo.IsEmpty()) { - Log_WarningPrintf("Clearing SPU transfer FIFO with %u bytes left", m_transfer_fifo.GetSize()); + if (m_SPUCNT.ram_transfer_mode == RAMTransferMode::DMAWrite) + Log_WarningPrintf("Clearing SPU transfer FIFO with %u bytes left", m_transfer_fifo.GetSize()); + m_transfer_fifo.Clear(); } }