hos: small refactor

Also exiting hos_launch is considered always an error.
This commit is contained in:
CTCaer authored and Christoph Baumann committed 2025-05-13 16:12:10 +02:00
1 parent 9a755b895b
commit f093c9368b
3 files changed
+47 -52

No files matched your search

+6 -2
View File
@@ -445,8 +445,10 @@ parse_failed:
launch_l4t(cfg_sec, entry_idx, 1, h_cfg.t210b01);
}
}
else if (!hos_launch(cfg_sec))
else
{
hos_launch(cfg_sec);
wrong_emupath:
if (emummc_path)
{
@@ -588,8 +590,10 @@ parse_failed:
launch_l4t(cfg_sec, entry_idx, 0, h_cfg.t210b01);
}
}
else if (!hos_launch(cfg_sec))
else
{
hos_launch(cfg_sec);
wrong_emupath:
if (emummc_path)
{