fixed exit of HBL when no homebrew was launched at all (just entered hbl and exit)

This commit is contained in:
dimok789 2016-11-16 18:37:34 +01:00
parent 9bf14c87ab
commit 4ee7c6d521
3 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@ -21,3 +21,4 @@
/encryptKeyWith /encryptKeyWith
/NUSPacker.jar /NUSPacker.jar
/fst.bin /fst.bin
/channel/code/*.rpx

Binary file not shown.

View File

@ -5,6 +5,7 @@
#include "dynamic_libs/padscore_functions.h" #include "dynamic_libs/padscore_functions.h"
#include "common/common.h" #include "common/common.h"
#include "kernel/gx2sploit.h" #include "kernel/gx2sploit.h"
#include "menu/HomebrewMemory.h"
/* Entry point */ /* Entry point */
extern "C" int Menu_Main(void) extern "C" int Menu_Main(void)
@ -28,6 +29,9 @@ extern "C" int Menu_Main(void)
InitPadScoreFunctionPointers(); InitPadScoreFunctionPointers();
log_printf("Function exports loaded\n"); log_printf("Function exports loaded\n");
//! initialize homebrew memory layout
HomebrewInitMemory();
//!******************************************************************* //!*******************************************************************
//! Enter main application * //! Enter main application *
//!******************************************************************* //!*******************************************************************