1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2025-01-20 09:20:13 +00:00
UltimateTrainingModpack/source/saltysd_helper.hpp
Shivam Dutt 1f9d492626 Updated to latest version of code-mod-framework
Fixed formatting and indentation
2019-05-27 17:08:56 -05:00

13 lines
319 B
C++

#ifndef SALTYSD_HELPER_H
#define SALTYSD_HELPER_H
#include <switch.h>
#define ANCHOR_REL 0x70ffffc000
u64 ANCHOR_ABS;
#define IMPORT(x) (x - ANCHOR_REL + ANCHOR_ABS)
int SaltySD_function_replace(u64 addr, u64 new_func);
int SaltySD_function_replace_sym(char* function_sym, u64 new_func);
#endif // SALTYSD_HELPER_H