mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 23:25:41 +00:00
Revert "DMA: Delay GPU transfers by block count"
This reverts commit 0639f4264f
.
Breaks FF7's FMVs in the top row. Needs GPU timings.
This commit is contained in:
parent
3e90d79df7
commit
c6119c210a
|
@ -197,15 +197,6 @@ TickCount DMA::GetTransferDelay(Channel channel) const
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Channel::GPU:
|
|
||||||
{
|
|
||||||
if (cs.channel_control.sync_mode == SyncMode::Request)
|
|
||||||
return cs.block_control.request.GetBlockCount();
|
|
||||||
else
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,6 +54,7 @@ public:
|
||||||
private:
|
private:
|
||||||
static constexpr PhysicalMemoryAddress BASE_ADDRESS_MASK = UINT32_C(0x00FFFFFF);
|
static constexpr PhysicalMemoryAddress BASE_ADDRESS_MASK = UINT32_C(0x00FFFFFF);
|
||||||
static constexpr PhysicalMemoryAddress ADDRESS_MASK = UINT32_C(0x001FFFFC);
|
static constexpr PhysicalMemoryAddress ADDRESS_MASK = UINT32_C(0x001FFFFC);
|
||||||
|
static constexpr u32 TRANSFER_TICKS = 10;
|
||||||
|
|
||||||
enum class SyncMode : u32
|
enum class SyncMode : u32
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue