From 7d887edf17dc4b9b749fd8962092564b158bbf38 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 17 May 2020 13:58:24 +1000 Subject: [PATCH] DMA: Write correct terminator at end of OTC Fixes NBA Live 96. --- src/core/dma.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/dma.cpp b/src/core/dma.cpp index 4f520650f..280147766 100644 --- a/src/core/dma.cpp +++ b/src/core/dma.cpp @@ -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);