mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-06-02 09:16:49 +02:00
Changed the way API version 2 is exposed in picoLoader7.h
This commit is contained in:
@@ -11,5 +11,8 @@ pload_header7_t gLoaderHeader
|
||||
{
|
||||
.entryPoint = (void*)&_start,
|
||||
.apiVersion = PICO_LOADER_API_VERSION,
|
||||
.launcherPath = "/_picoboot.nds"
|
||||
.v2 =
|
||||
{
|
||||
.launcherPath = "/_picoboot.nds"
|
||||
}
|
||||
};
|
||||
@@ -222,7 +222,7 @@ extern "C" void loaderMain()
|
||||
sLoader.SetRomPath(gLoaderHeader.loadParams.romPath);
|
||||
handleSavePath();
|
||||
sLoader.SetArguments(gLoaderHeader.loadParams.arguments, gLoaderHeader.loadParams.argumentsLength);
|
||||
sLoader.SetLauncherPath(gLoaderHeader.launcherPath);
|
||||
sLoader.SetLauncherPath(gLoaderHeader.v2.launcherPath);
|
||||
sLoader.Load(BootMode::Normal);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user