Fix wii prefs path

This commit is contained in:
simon.kagstrom 2010-03-16 20:17:52 +00:00
parent d2a38d8b01
commit acc79d9d9e

View File

@ -175,11 +175,12 @@ const char *try_path(const char *path, const char *file)
void Frodo::LoadFrodorc() void Frodo::LoadFrodorc()
{ {
const char *paths[] = { const char *paths[] = {
NULL, // Filled in below "/frodo", // Wii
NULL, // also filled in below
".", ".",
"/apps/frodo", // Wii "/apps/frodo", // Wii
"frodo", "frodo",
NULL, // Filled in below
NULL, // also filled in below
"/usr/share/frodo", "/usr/share/frodo",
NULL, NULL,
}; };
@ -200,8 +201,8 @@ void Frodo::LoadFrodorc()
strcpy(home_1, ""); strcpy(home_1, "");
strcpy(home_2, ""); strcpy(home_2, "");
} }
paths[0] = home_1; paths[4] = home_1;
paths[1] = home_2; paths[5] = home_2;
for (i = 0; paths[i]; i++) for (i = 0; paths[i]; i++)
{ {