mirror of
https://github.com/wiiu-env/homebrew_launcher.git
synced 2024-06-26 02:46:05 +02:00
![dimok789](/assets/img/avatar_default.png)
- the RPX file can now be used in a channel with for example the NUSPacker (HBL works now as a standalone channel with no PPC exploit pre-requisite like the browser exploit) - adaptions in sd_launcher - fixed listing ELF files - fix launching of ELF files from HBL channel - since HBL RPX does not use 0x0080000 area anymore, the maximum homebrew size is increased to 0x800000 - 0x2000 bytes - removed browser installer from RPX branch as it is of no use here NOTE: A channel will not yet be provided. app.xml, cos.xml, meta.xml and the icons/splash images will be provided later. Possible title id choice 00050000-13371337 :P.
46 lines
1.5 KiB
C++
46 lines
1.5 KiB
C++
#include "Application.h"
|
|
#include "system/memory.h"
|
|
#include "utils/logger.h"
|
|
#include "utils/utils.h"
|
|
#include "dynamic_libs/padscore_functions.h"
|
|
#include "common/common.h"
|
|
#include "kernel/gx2sploit.h"
|
|
|
|
/* Entry point */
|
|
extern "C" int Menu_Main(void)
|
|
{
|
|
//!*******************************************************************
|
|
//! Initialize function pointers *
|
|
//!*******************************************************************
|
|
//! do OS (for acquire) and sockets first so we got logging
|
|
log_init("192.168.178.3");
|
|
|
|
//! *******************************************************************
|
|
//! * Check if our application needs to run the kexploit started *
|
|
//! *******************************************************************
|
|
if(CheckKernelExploit() == 0)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
log_printf("Welcome to the Homebrew Launcher %s\n", HBL_VERSION);
|
|
|
|
InitPadScoreFunctionPointers();
|
|
log_printf("Function exports loaded\n");
|
|
|
|
//!*******************************************************************
|
|
//! Enter main application *
|
|
//!*******************************************************************
|
|
log_printf("Start main application\n");
|
|
int returnCode = Application::instance()->exec();
|
|
log_printf("Main application stopped\n");
|
|
|
|
Application::destroyInstance();
|
|
|
|
log_printf("HBL exit\n");
|
|
log_deinit();
|
|
|
|
return returnCode;
|
|
}
|
|
|