mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 11:29:24 +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()
|
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++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user