From 8e73fa12f36e138860eb534cdc60310246009deb Mon Sep 17 00:00:00 2001 From: emukidid Date: Wed, 2 Oct 2019 21:33:31 +0930 Subject: [PATCH] Support SD2SP2. (#15) --- source/disc.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/disc.c b/source/disc.c index dbe4438..cf988b1 100755 --- a/source/disc.c +++ b/source/disc.c @@ -71,14 +71,20 @@ const INTERFACE_ID _FAT_disc_interfaces[] = { #elif defined (__gamecube__) #include -static const DISC_INTERFACE* get_io_gcsda (void) { - return &__io_gcsda; +static const DISC_INTERFACE* get_io_gcsd2 (void) { + return &__io_gcsd2; } + static const DISC_INTERFACE* get_io_gcsdb (void) { return &__io_gcsdb; } +static const DISC_INTERFACE* get_io_gcsda (void) { + return &__io_gcsda; +} + const INTERFACE_ID _FAT_disc_interfaces[] = { + {"sd", get_io_gcsd2}, {"carda", get_io_gcsda}, {"cardb", get_io_gcsdb}, {NULL, NULL}