mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-03-06 14:27:44 +00:00
MDEC: Fix warnings in gcc debug build
This commit is contained in:
parent
f0c5b049bb
commit
48e55ab87b
|
@ -131,7 +131,7 @@ void MDEC::DMARead(u32* words, u32 word_count)
|
||||||
word_count -= words_to_read;
|
word_count -= words_to_read;
|
||||||
}
|
}
|
||||||
|
|
||||||
Log_DebugPrintf("DMA read complete, %u bytes left", m_data_out_fifo.GetSize() * sizeof(u32));
|
Log_DebugPrintf("DMA read complete, %u bytes left", static_cast<u32>(m_data_out_fifo.GetSize() * sizeof(u32)));
|
||||||
if (m_data_out_fifo.IsEmpty())
|
if (m_data_out_fifo.IsEmpty())
|
||||||
Execute();
|
Execute();
|
||||||
}
|
}
|
||||||
|
@ -540,7 +540,7 @@ void MDEC::CopyOutBlock()
|
||||||
}
|
}
|
||||||
|
|
||||||
Log_DebugPrintf("Block copied out, fifo size = %u (%u bytes)", m_data_out_fifo.GetSize(),
|
Log_DebugPrintf("Block copied out, fifo size = %u (%u bytes)", m_data_out_fifo.GetSize(),
|
||||||
m_data_out_fifo.GetSize() * sizeof(u32));
|
static_cast<u32>(m_data_out_fifo.GetSize() * sizeof(u32)));
|
||||||
|
|
||||||
// if we've copied out all blocks, command is complete
|
// if we've copied out all blocks, command is complete
|
||||||
m_state = (m_remaining_halfwords == 0) ? State::Idle : State::DecodingMacroblock;
|
m_state = (m_remaining_halfwords == 0) ? State::Idle : State::DecodingMacroblock;
|
||||||
|
|
Loading…
Reference in a new issue