This repository has been archived on 2022-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
Kosmos/remove_exosphere_dependency.patch
2020-02-26 19:25:22 -05:00

24 lines
791 B
Diff

diff --git a/stratosphere/loader/source/ldr_main.cpp b/stratosphere/loader/source/ldr_main.cpp
index f2075ab..379a7f9 100644
--- a/stratosphere/loader/source/ldr_main.cpp
+++ b/stratosphere/loader/source/ldr_main.cpp
@@ -63,18 +63,6 @@ void __appInit(void) {
if (R_FAILED(rc)) {
fatalSimple(0xCAFE << 4 | 2);
}
-
- rc = splInitialize();
- if (R_FAILED(rc)) {
- fatalSimple(0xCAFE << 4 | 3);
- }
-
- /* Check for exosphere API compatibility. */
- u64 exosphere_cfg;
- if (R_FAILED(splGetConfig((SplConfigItem)65000, &exosphere_cfg))) {
- fatalSimple(0xCAFE << 4 | 0xFF);
- /* TODO: Does Loader need to know about target firmware/master key revision? If so, extract from exosphere_cfg. */
- }
}
void __appExit(void) {