reinstate memcard drivers for wii

This commit is contained in:
Dave Murphy 2009-05-17 20:40:15 +00:00
parent fcb840cd66
commit 527a26f299

View File

@ -42,6 +42,7 @@ The list is terminated by a NULL/NULL entry.
#if defined (__wii__) #if defined (__wii__)
#include <sdcard/wiisd_io.h> #include <sdcard/wiisd_io.h>
#include <ogc/usbstorage.h> #include <ogc/usbstorage.h>
#include <sdcard/gcsd.h>
static const DISC_INTERFACE* get_io_wiisd (void) { static const DISC_INTERFACE* get_io_wiisd (void) {
return &__io_wiisd; return &__io_wiisd;
@ -49,16 +50,25 @@ static const DISC_INTERFACE* get_io_wiisd (void) {
static const DISC_INTERFACE* get_io_usbstorage (void) { static const DISC_INTERFACE* get_io_usbstorage (void) {
return &__io_usbstorage; return &__io_usbstorage;
} }
static const DISC_INTERFACE* get_io_gcsda (void) {
return &__io_gcsda;
}
static const DISC_INTERFACE* get_io_gcsdb (void) {
return &__io_gcsdb;
}
const INTERFACE_ID _FAT_disc_interfaces[] = { const INTERFACE_ID _FAT_disc_interfaces[] = {
{"sd", get_io_wiisd}, {"sd", get_io_wiisd},
{"usb", get_io_usbstorage}, {"usb", get_io_usbstorage},
{"carda", get_io_gcsda},
{"cardb", get_io_gcsdb},
{NULL, NULL} {NULL, NULL}
}; };
/* ==================== Gamecube ==================== */ /* ==================== Gamecube ==================== */
#elif defined (__gamecube__) #elif defined (__gamecube__)
#include <sdcard/gcsd.h> #include <sdcard/gcsd.h>
#include <sdcard/wiisd_io.h>
static const DISC_INTERFACE* get_io_gcsda (void) { static const DISC_INTERFACE* get_io_gcsda (void) {
return &__io_gcsda; return &__io_gcsda;