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...).
This commit is contained in:
parent
070c933088
commit
af8a866afc
|
@ -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_"));
|
||||
|
||||
|
|
Loading…
Reference in New Issue