Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Commit 8e73fa1

Browse files
emukididWinterMute
authored andcommitted
Support SD2SP2. (#15)
1 parent 2f64654 commit 8e73fa1

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

source/disc.c

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,20 @@ const INTERFACE_ID _FAT_disc_interfaces[] = {
7171
#elif defined (__gamecube__)
7272
#include <sdcard/gcsd.h>
7373

74-
static const DISC_INTERFACE* get_io_gcsda (void) {
75-
return &__io_gcsda;
74+
static const DISC_INTERFACE* get_io_gcsd2 (void) {
75+
return &__io_gcsd2;
7676
}
77+
7778
static const DISC_INTERFACE* get_io_gcsdb (void) {
7879
return &__io_gcsdb;
7980
}
8081

82+
static const DISC_INTERFACE* get_io_gcsda (void) {
83+
return &__io_gcsda;
84+
}
85+
8186
const INTERFACE_ID _FAT_disc_interfaces[] = {
87+
{"sd", get_io_gcsd2},
8288
{"carda", get_io_gcsda},
8389
{"cardb", get_io_gcsdb},
8490
{NULL, NULL}

0 commit comments

Comments
 (0)