follow-up for last commit: don't warn about the EUART init commands.

This commit is contained in:
Shawn Hoffman 2012-04-03 03:54:17 -07:00
parent 423cdb6398
commit 702905131b
2 changed files with 7 additions and 0 deletions

View File

@ -234,6 +234,7 @@ void CEXIIPL::TransferByte(u8& _uByte)
device_name = "UART"; device_name = "UART";
break; break;
case REGION_EUART: case REGION_EUART:
case REGION_EUART_UNK:
device_name = "EUART"; device_name = "EUART";
break; break;
case REGION_UART_UNK: case REGION_UART_UNK:
@ -305,6 +306,11 @@ void CEXIIPL::TransferByte(u8& _uByte)
} }
break; break;
case REGION_EUART_UNK:
// Writes 0xf2 then 0xf3 on EUART init. Just need to return non-zero
// so we can leave the byte untouched.
break;
case REGION_UART_UNK: case REGION_UART_UNK:
DEBUG_LOG(OSREPORT, "UART? %x", _uByte); DEBUG_LOG(OSREPORT, "UART? %x", _uByte);
_uByte = 0xff; _uByte = 0xff;

View File

@ -53,6 +53,7 @@ private:
REGION_WRTC0 = 0x210000, REGION_WRTC0 = 0x210000,
REGION_WRTC1 = 0x210001, REGION_WRTC1 = 0x210001,
REGION_WRTC2 = 0x210008, REGION_WRTC2 = 0x210008,
REGION_EUART_UNK= 0x300000,
REGION_EUART = 0x300001 REGION_EUART = 0x300001
}; };