diff --git a/source/gx/config.c b/source/gx/config.c index 549b19c..26359a5 100644 --- a/source/gx/config.c +++ b/source/gx/config.c @@ -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 */ diff --git a/source/gx/fileio/file_fat.c b/source/gx/fileio/file_fat.c index bb041fe..7af3dc0 100644 --- a/source/gx/fileio/file_fat.c +++ b/source/gx/fileio/file_fat.c @@ -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 ();