Make stratosphere use new libnx HosVersion API
This commit is contained in:
@@ -56,6 +56,8 @@ void __libnx_initheap(void) {
|
||||
void __appInit(void) {
|
||||
Result rc;
|
||||
|
||||
SetFirmwareVersionForLibnx();
|
||||
|
||||
rc = smInitialize();
|
||||
if (R_FAILED(rc)) {
|
||||
fatalSimple(MAKERESULT(Module_Libnx, LibnxError_InitFail_SM));
|
||||
|
||||
@@ -65,6 +65,8 @@ void __libnx_initheap(void) {
|
||||
|
||||
void __appInit(void) {
|
||||
Result rc;
|
||||
|
||||
SetFirmwareVersionForLibnx();
|
||||
|
||||
/* Initialize services we need (TODO: NCM) */
|
||||
rc = smInitialize();
|
||||
|
||||
@@ -54,6 +54,8 @@ void __libnx_initheap(void) {
|
||||
|
||||
void __appInit(void) {
|
||||
Result rc;
|
||||
|
||||
SetFirmwareVersionForLibnx();
|
||||
|
||||
rc = smInitialize();
|
||||
if (R_FAILED(rc)) {
|
||||
|
||||
@@ -63,6 +63,8 @@ void __libnx_initheap(void) {
|
||||
void __appInit(void) {
|
||||
Result rc;
|
||||
|
||||
SetFirmwareVersionForLibnx();
|
||||
|
||||
rc = smInitialize();
|
||||
if (R_FAILED(rc)) {
|
||||
std::abort();
|
||||
|
||||
Submodule stratosphere/libstratosphere updated: a2c74f8cd5...3de9d6c9d6
@@ -58,6 +58,8 @@ void __libnx_initheap(void) {
|
||||
|
||||
void __appInit(void) {
|
||||
Result rc;
|
||||
|
||||
SetFirmwareVersionForLibnx();
|
||||
|
||||
/* Initialize services we need (TODO: SPL) */
|
||||
rc = smInitialize();
|
||||
|
||||
@@ -85,6 +85,8 @@ void RegisterPrivilegedProcessesWithFs() {
|
||||
|
||||
void __appInit(void) {
|
||||
Result rc;
|
||||
|
||||
SetFirmwareVersionForLibnx();
|
||||
|
||||
rc = smInitialize();
|
||||
if (R_FAILED(rc)) {
|
||||
|
||||
@@ -55,7 +55,9 @@ void __libnx_initheap(void) {
|
||||
}
|
||||
|
||||
void __appInit(void) {
|
||||
/* We must do no setup here, because we are sm. */
|
||||
SetFirmwareVersionForLibnx();
|
||||
|
||||
/* We must do no service setup here, because we are sm. */
|
||||
}
|
||||
|
||||
void __appExit(void) {
|
||||
|
||||
Reference in New Issue
Block a user