Make libstratosphere a submodule

This commit is contained in:
Michael Scire
2018-11-08 01:24:40 -08:00
parent 5ef01edab5
commit 54a22797a7
8 changed files with 45 additions and 5 deletions

View File

@@ -20,6 +20,7 @@
#include <malloc.h>
#include <switch.h>
#include <atmosphere.h>
#include <stratosphere.hpp>
#define CAR_BASE 0x60006000
@@ -84,7 +85,7 @@ void __appInit(void) {
fsdevMountSdmc();
CheckAtmosphereVersion();
CheckAtmosphereVersion(CURRENT_ATMOSPHERE_VERSION);
}
void __appExit(void) {

View File

@@ -20,6 +20,7 @@
#include <malloc.h>
#include <switch.h>
#include <atmosphere.h>
#include <stratosphere.hpp>
#include "fsmitm_service.hpp"
@@ -65,7 +66,8 @@ void __appInit(void) {
if (R_FAILED(rc)) {
fatalSimple(MAKERESULT(Module_Libnx, LibnxError_InitFail_FS));
}
CheckAtmosphereVersion();
CheckAtmosphereVersion(CURRENT_ATMOSPHERE_VERSION);
}
void __appExit(void) {

View File

@@ -20,6 +20,7 @@
#include <malloc.h>
#include <switch.h>
#include <atmosphere.h>
#include <stratosphere.hpp>
#include "ldr_process_manager.hpp"
@@ -80,7 +81,7 @@ void __appInit(void) {
fatalSimple(0xCAFE << 4 | 2);
}
CheckAtmosphereVersion();
CheckAtmosphereVersion(CURRENT_ATMOSPHERE_VERSION);
}
void __appExit(void) {

View File

@@ -20,6 +20,7 @@
#include <malloc.h>
#include <switch.h>
#include <atmosphere.h>
#include <stratosphere.hpp>
#include "pm_boot_mode.hpp"
@@ -119,7 +120,7 @@ void __appInit(void) {
fatalSimple(MAKERESULT(Module_Libnx, LibnxError_InitFail_FS));
}
CheckAtmosphereVersion();
CheckAtmosphereVersion(CURRENT_ATMOSPHERE_VERSION);
}
void __appExit(void) {

View File

@@ -20,6 +20,7 @@
#include <malloc.h>
#include <switch.h>
#include <atmosphere.h>
#include <stratosphere.hpp>
#include "setsys_mitm_service.hpp"
@@ -64,7 +65,7 @@ void __appInit(void) {
fatalSimple(rc);
}
CheckAtmosphereVersion();
CheckAtmosphereVersion(CURRENT_ATMOSPHERE_VERSION);
}
void __appExit(void) {