summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2011-12-25 01:55:25 +0100
committerPierre Bourdon <delroth@gmail.com>2011-12-25 01:55:25 +0100
commitaf8a866afc201ae2c79a45321faadcbfa8a93f2a (patch)
tree58a10e8184728770e54565a41351211bd03280a3 /Source
parent070c9330889be5f9273c2f88a32ef02d727585b1 (diff)
Implement what was done by r9a627e89 using a stub device
This is arguably better then using the slot0 device for slot1, because it maps the real hardware better (nothing can be mounted on slot1 on a Wii AFAICT). This also makes Kirby: Return to Dreamland work properly and fixes some of the SD card problems (libs do not expect to have the same SD card mounted two times in RW...).
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp
index 2fa2587e60..0aa66b496a 100644
--- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp
+++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp
@@ -93,6 +93,7 @@ void Init()
g_DeviceMap[i] = new CWII_IPC_HLE_Device_net_ip_top(i, std::string("/dev/net/ip/top")); i++;
g_DeviceMap[i] = new CWII_IPC_HLE_Device_usb_kbd(i, std::string("/dev/usb/kbd")); i++;
g_DeviceMap[i] = new CWII_IPC_HLE_Device_sdio_slot0(i, std::string("/dev/sdio/slot0")); i++;
+ g_DeviceMap[i] = new CWII_IPC_HLE_Device_stub(i, std::string("/dev/sdio/slot1")); i++;
g_DeviceMap[i] = new CWII_IPC_HLE_Device_stub(i, std::string("/dev/usb/hid")); i++;
g_DeviceMap[i] = new IWII_IPC_HLE_Device(i, std::string("_Unimplemented_Device_"));