atmosphere: extract API version management to common folder

This commit is contained in:
Michael Scire committed 2018-10-16 17:54:50 -07:00
1 parent 412511f32a
commit 6711cd93a8
19 files changed
+92 -57

No files matched your search

+1 -6
View File
@@ -94,12 +94,7 @@ void __appInit(void) {
fatalSimple(0xCAFE << 4 | 6);
}
/* Check for exosphere API compatibility. */
u64 exosphere_cfg;
if (R_FAILED(splGetConfig((SplConfigItem)65000, &exosphere_cfg))) {
fatalSimple(0xCAFE << 4 | 0xFF);
/* TODO: Does PM need to know about target firmware/master key revision? If so, extract from exosphere_cfg. */
}
CheckAtmosphereVersion();
}
void __appExit(void) {