1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-08 05:01:44 +00:00

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

3
.gitmodules vendored
View file

@ -1,3 +1,6 @@
[submodule "common/include/boost"]
path = common/include/boost
url = https://github.com/Atmosphere-NX/ext-boost.git
[submodule "stratosphere/libstratosphere"]
path = stratosphere/libstratosphere
url = https://github.com/Atmosphere-NX/libstratosphere.git

View file

@ -0,0 +1,30 @@
/*
* Copyright (c) 2018 Atmosphère-NX
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef ATMOSPHERE_H
#define ATMOSPHERE_H
#ifdef __cplusplus
extern "C" {
#endif
#include "atmosphere/version.h"
#ifdef __cplusplus
}
#endif
#endif

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) {

@ -0,0 +1 @@
Subproject commit 3e873180905d411472722783162e6e4ee8158cfb

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) {