mirror of
https://github.com/wiiu-env/PatchMemoryRelocationsModule.git
synced 2025-02-20 03:52:48 +01:00
Reduce the amount logged messages
This commit is contained in:
parent
bf4d9b1901
commit
4049c1e2ae
@ -15,6 +15,8 @@ extern "C" {
|
|||||||
OSFatal_printf("[%s]%s@L%04d: " FMT "",__FILENAME__,__FUNCTION__, __LINE__, ## ARGS); \
|
OSFatal_printf("[%s]%s@L%04d: " FMT "",__FILENAME__,__FUNCTION__, __LINE__, ## ARGS); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
#define DEBUG_FUNCTION_LINE_VERBOSE(FMT, ARGS...) while(0)
|
||||||
|
|
||||||
#define DEBUG_FUNCTION_LINE(FMT, ARGS...)do { \
|
#define DEBUG_FUNCTION_LINE(FMT, ARGS...)do { \
|
||||||
WHBLogPrintf("[%23s]%30s@L%04d: " FMT "",__FILENAME__,__FUNCTION__, __LINE__, ## ARGS); \
|
WHBLogPrintf("[%23s]%30s@L%04d: " FMT "",__FILENAME__,__FUNCTION__, __LINE__, ## ARGS); \
|
||||||
} while (0);
|
} while (0);
|
||||||
|
@ -28,10 +28,10 @@ WUMS_RELOCATIONS_DONE(args) {
|
|||||||
for (int32_t i = 0; i < gModuleData->number_used_modules; i++) {
|
for (int32_t i = 0; i < gModuleData->number_used_modules; i++) {
|
||||||
if (strcmp("homebrew_memorymapping", gModuleData->module_data[i].module_export_name) == 0 ||
|
if (strcmp("homebrew_memorymapping", gModuleData->module_data[i].module_export_name) == 0 ||
|
||||||
strcmp("homebrew_patchmemoryrelocations", gModuleData->module_data[i].module_export_name) == 0) {
|
strcmp("homebrew_patchmemoryrelocations", gModuleData->module_data[i].module_export_name) == 0) {
|
||||||
DEBUG_FUNCTION_LINE("Skip %s", gModuleData->module_data[i].module_export_name);
|
DEBUG_FUNCTION_LINE_VERBOSE("Skip %s", gModuleData->module_data[i].module_export_name);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
DEBUG_FUNCTION_LINE("Patch relocations of %s", gModuleData->module_data[i].module_export_name);
|
DEBUG_FUNCTION_LINE_VERBOSE("Patch relocations of %s", gModuleData->module_data[i].module_export_name);
|
||||||
for (uint32_t j = 0; j < DYN_LINK_RELOCATION_LIST_LENGTH; j++) {
|
for (uint32_t j = 0; j < DYN_LINK_RELOCATION_LIST_LENGTH; j++) {
|
||||||
dyn_linking_relocation_entry_t *curEntry = &gModuleData->module_data[i].linking_entries[j];
|
dyn_linking_relocation_entry_t *curEntry = &gModuleData->module_data[i].linking_entries[j];
|
||||||
if (curEntry->functionEntry == NULL) {
|
if (curEntry->functionEntry == NULL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user