2017-01-04 20:19:26 +01:00
|
|
|
#include <nsysnet/socket.h>
|
2019-08-15 11:21:02 +02:00
|
|
|
#include <coreinit/ios.h>
|
2016-10-05 16:03:29 +02:00
|
|
|
#include "Application.h"
|
|
|
|
#include "system/memory.h"
|
|
|
|
#include "utils/logger.h"
|
|
|
|
#include "utils/utils.h"
|
2020-07-05 13:49:31 +02:00
|
|
|
#include <whb/log_udp.h>
|
2016-10-05 16:03:29 +02:00
|
|
|
|
|
|
|
/* Entry point */
|
2020-07-05 13:34:13 +02:00
|
|
|
extern "C" int Menu_Main(void) {
|
2020-07-05 13:49:31 +02:00
|
|
|
WHBLogUdpInit();
|
2017-01-04 20:19:26 +01:00
|
|
|
|
2020-07-05 13:49:31 +02:00
|
|
|
DEBUG_FUNCTION_LINE("Initialize memory management");
|
2017-01-04 20:19:26 +01:00
|
|
|
memoryInitialize();
|
2016-10-05 16:03:29 +02:00
|
|
|
|
|
|
|
//!*******************************************************************
|
|
|
|
//! Initialize heap memory *
|
|
|
|
//!*******************************************************************
|
|
|
|
|
2020-07-05 13:49:31 +02:00
|
|
|
DEBUG_FUNCTION_LINE("Start main application");
|
2016-10-05 16:03:29 +02:00
|
|
|
Application::instance()->exec();
|
2020-07-05 13:34:13 +02:00
|
|
|
Application::destroyInstance();
|
|
|
|
|
2019-08-15 11:21:02 +02:00
|
|
|
return 0;
|
2016-10-05 16:03:29 +02:00
|
|
|
}
|