basic wiiu rules

This commit is contained in:
Not6
2017-07-30 14:56:36 +02:00
parent 61f1908bf2
commit 1f00b1847f
7 changed files with 50 additions and 2 deletions
+11
View File
@@ -935,6 +935,11 @@ static void GetDirectory(const char *directory)
#ifdef PS2
FilenamesAdd(Util_strdup("[mc0:]"));
#endif
#ifdef WIIU
// FIXME: limited to sd: add usb:
FilenamesAdd(Util_strdup("[sd:]"));
#endif
#ifdef DOS_DRIVES
/* in DOS/Windows, add all existing disk letters */
{
@@ -1150,6 +1155,12 @@ static int FileSelector(char *path, int select_dir, char pDirectories[][FILENAME
strcpy(new_dir, "mc0:/");
}
#endif
#ifdef WIIU
// FIXME for now only sd: ,please add usb:
else if (strcmp(selected_filename, "[sd:]") == 0) {
strcpy(new_dir, "sd:/");
}
#endif
#ifdef DOS_DRIVES
else if (selected_filename[2] == ':' && selected_filename[3] == ']') {
/* disk selected */