mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 09:35:40 +00:00
MDEC: Slightly reduce block timing
Fixes FMVs in Disney's Treasure Planet. Probably needs sub-block timing emulated at some point.
This commit is contained in:
parent
614ea632a5
commit
e5f56fcd33
|
@ -389,7 +389,7 @@ bool MDEC::DecodeColoredMacroblock()
|
||||||
yuv_to_rgb(8, 8, m_blocks[0], m_blocks[1], m_blocks[5]);
|
yuv_to_rgb(8, 8, m_blocks[0], m_blocks[1], m_blocks[5]);
|
||||||
m_total_blocks_decoded += 4;
|
m_total_blocks_decoded += 4;
|
||||||
|
|
||||||
ScheduleBlockCopyOut(TICKS_PER_BLOCK * 4);
|
ScheduleBlockCopyOut(TICKS_PER_BLOCK * 6);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ private:
|
||||||
static constexpr u32 DATA_IN_FIFO_SIZE = 1024;
|
static constexpr u32 DATA_IN_FIFO_SIZE = 1024;
|
||||||
static constexpr u32 DATA_OUT_FIFO_SIZE = 768;
|
static constexpr u32 DATA_OUT_FIFO_SIZE = 768;
|
||||||
static constexpr u32 NUM_BLOCKS = 6;
|
static constexpr u32 NUM_BLOCKS = 6;
|
||||||
static constexpr TickCount TICKS_PER_BLOCK = 3072 / 4;
|
static constexpr TickCount TICKS_PER_BLOCK = 448;
|
||||||
|
|
||||||
enum DataOutputDepth : u8
|
enum DataOutputDepth : u8
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue