Core: DisplayControlRegHandler::Read32 read more of the registers

This commit is contained in:
zilmar 2023-09-14 09:40:11 +09:30
parent 002f2e17c3
commit 9ffd87168a
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@ bool DisplayControlRegHandler::Read32(uint32_t Address, uint32_t & Value)
{ {
switch (Address & 0x1FFFFFFF) 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 0x0410000C: Value = DPC_STATUS_REG; break;
case 0x04100010: Value = DPC_CLOCK_REG; break; case 0x04100010: Value = DPC_CLOCK_REG; break;
case 0x04100014: Value = DPC_BUFBUSY_REG; break; case 0x04100014: Value = DPC_BUFBUSY_REG; break;