mirror of
https://github.com/wiiu-env/MemoryMappingModule.git
synced 2025-02-16 17:29:12 +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);
|
DEBUG_FUNCTION_LINE("total free space %d KiB", MemoryMapping_GetFreeSpace() / 1024);
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
WUMS_APPLICATION_STARTS() {
|
||||||
WHBLogUdpInit();
|
WHBLogUdpInit();
|
||||||
MemoryMapping::DestroyHeaps();
|
//MemoryMapping_DestroyHeaps();
|
||||||
MemoryMapping::CreateHeaps();
|
//MemoryMapping_CreateHeaps();
|
||||||
DEBUG_FUNCTION_LINE("total free space %d KiB", MemoryMapping::GetFreeSpace() / 1024);
|
DEBUG_FUNCTION_LINE("total free space %d KiB", MemoryMapping_GetFreeSpace() / 1024);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MemoryMappingFree(void *ptr) {
|
void MemoryMappingFree(void *ptr) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user