mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-25 21:14:22 +01:00
Fix wii prefs path
This commit is contained in:
parent
d2a38d8b01
commit
acc79d9d9e
@ -175,11 +175,12 @@ const char *try_path(const char *path, const char *file)
|
||||
void Frodo::LoadFrodorc()
|
||||
{
|
||||
const char *paths[] = {
|
||||
NULL, // Filled in below
|
||||
NULL, // also filled in below
|
||||
"/frodo", // Wii
|
||||
".",
|
||||
"/apps/frodo", // Wii
|
||||
"frodo",
|
||||
NULL, // Filled in below
|
||||
NULL, // also filled in below
|
||||
"/usr/share/frodo",
|
||||
NULL,
|
||||
};
|
||||
@ -200,8 +201,8 @@ void Frodo::LoadFrodorc()
|
||||
strcpy(home_1, "");
|
||||
strcpy(home_2, "");
|
||||
}
|
||||
paths[0] = home_1;
|
||||
paths[1] = home_2;
|
||||
paths[4] = home_1;
|
||||
paths[5] = home_2;
|
||||
|
||||
for (i = 0; paths[i]; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user