mirror of
https://gitlab.com/Nanolx/homebrewfilter.git
synced 2024-11-27 19:44:21 +01:00
adjust paths in forwarder
This commit is contained in:
parent
785142ae1e
commit
68f449a49b
@ -56,22 +56,22 @@ extern const u32 app_booter_bin_size;
|
||||
|
||||
static FILE *open_file(const char *dev, char *filepath)
|
||||
{
|
||||
sprintf(filepath, "%s:/apps/usbloader/boot.dol", dev);
|
||||
sprintf(filepath, "%s:/apps/HomebrewFilter.Standalone/boot.dol", dev);
|
||||
FILE *exeFile = fopen(filepath ,"rb");
|
||||
|
||||
if (exeFile == NULL)
|
||||
{
|
||||
sprintf(filepath, "%s:/apps/usbloader_cfg/boot.dol", dev);
|
||||
sprintf(filepath, "%s:/apps/HomebrewFilter.vWii.Standalone/boot.dol", dev);
|
||||
exeFile = fopen(filepath ,"rb");
|
||||
}
|
||||
if (exeFile == NULL)
|
||||
{
|
||||
sprintf(filepath, "%s:/apps/usbloader/boot.elf", dev);
|
||||
sprintf(filepath, "%s:/apps/HomebrewFilter.Standalone/boot.elf", dev);
|
||||
exeFile = fopen(filepath ,"rb");
|
||||
}
|
||||
if (exeFile == NULL)
|
||||
{
|
||||
sprintf(filepath, "%s:/apps/usbloader_cfg/boot.elf", dev);
|
||||
sprintf(filepath, "%s:/apps/HomebrewFilter.vWii.Standalone/boot.elf", dev);
|
||||
exeFile = fopen(filepath ,"rb");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user