From af8a866afc201ae2c79a45321faadcbfa8a93f2a Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Sun, 25 Dec 2011 01:55:25 +0100 Subject: [PATCH] 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...). --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE.cpp | 1 + 1 file changed, 1 insertion(+) 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_"));