mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 15:15:40 +00:00
DMA: Write correct terminator at end of OTC
Fixes NBA Live 96.
This commit is contained in:
parent
2795dea124
commit
7d887edf17
|
@ -461,7 +461,7 @@ TickCount DMA::TransferDeviceToMemory(Channel channel, u32 address, u32 incremen
|
|||
address = (address - 4) & ADDRESS_MASK;
|
||||
}
|
||||
|
||||
const u32 terminator = UINT32_C(0xFFFFFFF);
|
||||
const u32 terminator = UINT32_C(0xFFFFFF);
|
||||
std::memcpy(&ram_pointer[address], &terminator, sizeof(terminator));
|
||||
m_bus->InvalidateCodePages(address, word_count);
|
||||
return m_bus->GetDMARAMTickCount(word_count);
|
||||
|
|
Loading…
Reference in a new issue