Support SD2SP2. (#15)

This commit is contained in:
emukidid 2019-10-02 21:33:31 +09:30 committed by Dave Murphy
parent 2f6465447f
commit 8e73fa12f3

View File

@ -71,14 +71,20 @@ const INTERFACE_ID _FAT_disc_interfaces[] = {
#elif defined (__gamecube__) #elif defined (__gamecube__)
#include <sdcard/gcsd.h> #include <sdcard/gcsd.h>
static const DISC_INTERFACE* get_io_gcsda (void) { static const DISC_INTERFACE* get_io_gcsd2 (void) {
return &__io_gcsda; return &__io_gcsd2;
} }
static const DISC_INTERFACE* get_io_gcsdb (void) { static const DISC_INTERFACE* get_io_gcsdb (void) {
return &__io_gcsdb; return &__io_gcsdb;
} }
static const DISC_INTERFACE* get_io_gcsda (void) {
return &__io_gcsda;
}
const INTERFACE_ID _FAT_disc_interfaces[] = { const INTERFACE_ID _FAT_disc_interfaces[] = {
{"sd", get_io_gcsd2},
{"carda", get_io_gcsda}, {"carda", get_io_gcsda},
{"cardb", get_io_gcsdb}, {"cardb", get_io_gcsdb},
{NULL, NULL} {NULL, NULL}