mirror of
https://github.com/wiiu-env/MemoryMappingModule.git
synced 2024-11-22 01:39:20 +01:00
Use the WUMS_APPLICATION_STARTS hook instead of the main() function
This commit is contained in:
parent
d0898430fc
commit
7a2804ac7e
@ -22,12 +22,11 @@ WUMS_INITIALIZE() {
|
||||
DEBUG_FUNCTION_LINE("total free space %d KiB", MemoryMapping_GetFreeSpace() / 1024);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
WUMS_APPLICATION_STARTS() {
|
||||
WHBLogUdpInit();
|
||||
MemoryMapping::DestroyHeaps();
|
||||
MemoryMapping::CreateHeaps();
|
||||
DEBUG_FUNCTION_LINE("total free space %d KiB", MemoryMapping::GetFreeSpace() / 1024);
|
||||
return 0;
|
||||
//MemoryMapping_DestroyHeaps();
|
||||
//MemoryMapping_CreateHeaps();
|
||||
DEBUG_FUNCTION_LINE("total free space %d KiB", MemoryMapping_GetFreeSpace() / 1024);
|
||||
}
|
||||
|
||||
void MemoryMappingFree(void *ptr) {
|
||||
|
Loading…
Reference in New Issue
Block a user