summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2012-04-03 03:54:17 -0700
committerShawn Hoffman <godisgovernment@gmail.com>2012-04-03 03:54:17 -0700
commit702905131bc9c745442bdfb9b650b04e6ff0458b (patch)
treeed6cbb303ba8fdcc6679ad9aa6c97db7ba681dc1 /Source/Core
parent423cdb63989ffeba9bca27fe4155391ea578dbf9 (diff)
follow-up for last commit: don't warn about the EUART init commands.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp6
-rw-r--r--Source/Core/Core/Src/HW/EXI_DeviceIPL.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp b/Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp
index 7bf15cf9a4..ec8c29cc77 100644
--- a/Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp
+++ b/Source/Core/Core/Src/HW/EXI_DeviceIPL.cpp
@@ -234,6 +234,7 @@ void CEXIIPL::TransferByte(u8& _uByte)
device_name = "UART";
break;
case REGION_EUART:
+ case REGION_EUART_UNK:
device_name = "EUART";
break;
case REGION_UART_UNK:
@@ -305,6 +306,11 @@ void CEXIIPL::TransferByte(u8& _uByte)
}
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:
DEBUG_LOG(OSREPORT, "UART? %x", _uByte);
_uByte = 0xff;
diff --git a/Source/Core/Core/Src/HW/EXI_DeviceIPL.h b/Source/Core/Core/Src/HW/EXI_DeviceIPL.h
index 7e0710bb02..4788f21adb 100644
--- a/Source/Core/Core/Src/HW/EXI_DeviceIPL.h
+++ b/Source/Core/Core/Src/HW/EXI_DeviceIPL.h
@@ -53,6 +53,7 @@ private:
REGION_WRTC0 = 0x210000,
REGION_WRTC1 = 0x210001,
REGION_WRTC2 = 0x210008,
+ REGION_EUART_UNK= 0x300000,
REGION_EUART = 0x300001
};