mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-28 12:11:50 +01:00
[Gamecube] fixed access to ROM files on SDCARD
This commit is contained in:
parent
0a83f8ccdd
commit
e2366f81a9
@ -130,9 +130,11 @@ void config_default(void)
|
||||
config.sfx_volume = 100.0;
|
||||
|
||||
/* default ROM directories */
|
||||
sprintf (config.sddir, "sd:%s/roms/", DEFAULT_PATH);
|
||||
#ifdef HW_RVL
|
||||
sprintf (config.sddir, "sd:%s/roms/", DEFAULT_PATH);
|
||||
sprintf (config.usbdir, "usb:%s/roms/", DEFAULT_PATH);
|
||||
#else
|
||||
sprintf (config.sddir, "/%s/roms/", DEFAULT_PATH);
|
||||
#endif
|
||||
|
||||
/* restore from config file */
|
||||
|
@ -262,9 +262,12 @@ int FAT_Open(int type)
|
||||
#ifdef HW_RVL
|
||||
else if (type == TYPE_USB)
|
||||
sprintf (fatdir, "usb:/");
|
||||
#endif
|
||||
else
|
||||
sprintf (fatdir, "sd:/");
|
||||
#else
|
||||
else
|
||||
sprintf (fatdir, "/");
|
||||
#endif
|
||||
|
||||
/* parse current directory */
|
||||
max = FAT_ParseDirectory ();
|
||||
|
Loading…
Reference in New Issue
Block a user