Skip to content

Commit

Permalink
Restrict the memory we're using and call _Exit() when leaving
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschell committed Dec 30, 2021
1 parent 5fadb8e commit e4edcfd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
#include "common/module_defines.h"
#include "utils/DrawUtils.h"

#define MEMORY_REGION_START 0x00900000
#define MEMORY_REGION_SIZE 0x00700000
#define MEMORY_REGION_START 0x00A00000
#define MEMORY_REGION_SIZE 0x00600000
#define MEMORY_REGION_END (MEMORY_REGION_START + MEMORY_REGION_SIZE)

#define AUTOBOOT_CONFIG_PATH "fs:/vol/external01/wiiu/environments/default.cfg"
Expand Down Expand Up @@ -195,6 +195,7 @@ int main(int argc, char **argv) {
}
ProcUIShutdown();

_Exit(0);
return 0;
}

Expand Down

0 comments on commit e4edcfd

Please sign in to comment.