mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-04 08:32:15 +02:00
stage2 loader: Use bct0 from the loader context
This commit is contained in:
parent
1149665402
commit
e4b8d41188
@ -54,7 +54,7 @@ void load_list_entry(const char *key) {
|
|||||||
|
|
||||||
printk("Loading %s\n", key);
|
printk("Loading %s\n", key);
|
||||||
|
|
||||||
if (ini_parse_string(g_bct0, loadlist_entry_ini_handler, &load_file_ctx) < 0) {
|
if (ini_parse_string(get_loader_ctx()->bct0, loadlist_entry_ini_handler, &load_file_ctx) < 0) {
|
||||||
printk("Error: Failed to parse BCT.ini!\n");
|
printk("Error: Failed to parse BCT.ini!\n");
|
||||||
generic_panic();
|
generic_panic();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user