From 9ffd87168a74a5ed6a884634bc65d2edc36d83bf Mon Sep 17 00:00:00 2001 From: zilmar Date: Thu, 14 Sep 2023 09:40:11 +0930 Subject: [PATCH] Core: DisplayControlRegHandler::Read32 read more of the registers --- .../N64System/MemoryHandler/DisplayControlRegHandler.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Project64-core/N64System/MemoryHandler/DisplayControlRegHandler.cpp b/Source/Project64-core/N64System/MemoryHandler/DisplayControlRegHandler.cpp index 7621fc043..ba4f7bd63 100644 --- a/Source/Project64-core/N64System/MemoryHandler/DisplayControlRegHandler.cpp +++ b/Source/Project64-core/N64System/MemoryHandler/DisplayControlRegHandler.cpp @@ -21,6 +21,9 @@ bool DisplayControlRegHandler::Read32(uint32_t Address, uint32_t & Value) { switch (Address & 0x1FFFFFFF) { + case 0x04100000: Value = DPC_START_REG; break; + case 0x04100004: Value = DPC_END_REG; break; + case 0x04100008: Value = DPC_CURRENT_REG; break; case 0x0410000C: Value = DPC_STATUS_REG; break; case 0x04100010: Value = DPC_CLOCK_REG; break; case 0x04100014: Value = DPC_BUFBUSY_REG; break;