mirror of
https://github.com/wiiu-env/MemoryMappingModule.git
synced 2025-06-12 18:58:21 +02:00
Reenable logging, Update Dockerfile to use WUMS 0.2
This commit is contained in:
@ -19,8 +19,6 @@ extern "C" {
|
||||
#define DEBUG_FUNCTION_LINE(FMT, ARGS...)do { \
|
||||
WHBLogPrintf("[%23s]%30s@L%04d: " FMT "",__FILENAME__,__FUNCTION__, __LINE__, ## ARGS); \
|
||||
} while (0);
|
||||
|
||||
#define DEBUG_FUNCTION_LINE(FMT, ARGS...)
|
||||
|
||||
#define DEBUG_FUNCTION_LINE_WRITE(FMT, ARGS...)do { \
|
||||
WHBLogWritef("[%23s]%30s@L%04d: " FMT "",__FILENAME__,__FUNCTION__, __LINE__, ## ARGS); \
|
||||
|
@ -12,12 +12,10 @@
|
||||
|
||||
WUMS_MODULE_EXPORT_NAME("homebrew_memorymapping");
|
||||
WUMS_MODULE_SKIP_ENTRYPOINT();
|
||||
WUMS_MODULE_SKIP_WUT_INIT();
|
||||
WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK();
|
||||
|
||||
WUMS_INITIALIZE(args) {
|
||||
// Currently we have no logging because we're skipping the wut init/fini calls.
|
||||
// WHBLogUdpInit();
|
||||
WHBLogUdpInit();
|
||||
DEBUG_FUNCTION_LINE("Setting up memory mapping!");
|
||||
static uint8_t ucSetupRequired = 1;
|
||||
if (!ucSetupRequired) {
|
||||
@ -34,8 +32,7 @@ WUMS_INITIALIZE(args) {
|
||||
}
|
||||
|
||||
WUMS_APPLICATION_STARTS() {
|
||||
// Currently we have no logging because we're skipping the wut init/fini calls.
|
||||
// WHBLogUdpInit();
|
||||
WHBLogUdpInit();
|
||||
//MemoryMapping_DestroyHeaps();
|
||||
//MemoryMapping_CreateHeaps();
|
||||
|
||||
|
Reference in New Issue
Block a user