mirror of
https://github.com/wiiu-env/AromaBaseModule.git
synced 2024-11-23 20:09:19 +01:00
13 lines
513 B
C++
13 lines
513 B
C++
#include "globals.h"
|
|
#include "logger.h"
|
|
#include "sym_function_replacements.h"
|
|
|
|
void initSymbolNamePatcher() {
|
|
DEBUG_FUNCTION_LINE("Patch SymbolNamePatcher functions");
|
|
for (uint32_t i = 0; i < symbolname_function_replacements_size; i++) {
|
|
if (!FunctionPatcherPatchFunction(&symbolname_function_replacements[i], nullptr)) {
|
|
OSFatal("AromaBaseModule: Failed to patch SymbolNamePatcher function");
|
|
}
|
|
}
|
|
DEBUG_FUNCTION_LINE("Patch SymbolNamePatcher functions finished");
|
|
} |