mirror of
https://github.com/wiiu-env/EnvironmentLoader.git
synced 2025-05-04 10:01:11 +02:00
Restrict the memory we're using and call _Exit() when leaving
This commit is contained in:
parent
5fadb8e222
commit
e4edcfd3b4
@ -28,8 +28,8 @@
|
|||||||
#include "common/module_defines.h"
|
#include "common/module_defines.h"
|
||||||
#include "utils/DrawUtils.h"
|
#include "utils/DrawUtils.h"
|
||||||
|
|
||||||
#define MEMORY_REGION_START 0x00900000
|
#define MEMORY_REGION_START 0x00A00000
|
||||||
#define MEMORY_REGION_SIZE 0x00700000
|
#define MEMORY_REGION_SIZE 0x00600000
|
||||||
#define MEMORY_REGION_END (MEMORY_REGION_START + MEMORY_REGION_SIZE)
|
#define MEMORY_REGION_END (MEMORY_REGION_START + MEMORY_REGION_SIZE)
|
||||||
|
|
||||||
#define AUTOBOOT_CONFIG_PATH "fs:/vol/external01/wiiu/environments/default.cfg"
|
#define AUTOBOOT_CONFIG_PATH "fs:/vol/external01/wiiu/environments/default.cfg"
|
||||||
@ -195,6 +195,7 @@ int main(int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
ProcUIShutdown();
|
ProcUIShutdown();
|
||||||
|
|
||||||
|
_Exit(0);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user