-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmain.h
30 lines (24 loc) · 1.06 KB
/
main.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
forcelang - language override plugin
Written 2018/2019 by xdaniel - github.com/xdanieldzd
*/
extern const char *languageNames[];
extern char *appTitleId, *appTitle, *configFilename, *buffer;
extern int sysLanguage;
extern int gameLanguage;
extern int menuActive;
extern const char *hookNames[];
int sceSysmoduleLoadModule_patched(SceSysmoduleModuleId id);
int sceSysmoduleUnloadModule_patched(SceSysmoduleModuleId id);
int sceCtrlPeekBufferPositive_patched(int port, SceCtrlData *pad_data, int count);
int sceCtrlPeekBufferPositive2_patched(int port, SceCtrlData *pad_data, int count);
int sceCtrlReadBufferPositive_patched(int port, SceCtrlData *pad_data, int count);
int sceCtrlReadBufferPositive2_patched(int port, SceCtrlData *pad_data, int count);
int sceDisplaySetFrameBuf_patched(const SceDisplayFrameBuf *pParam, SceDisplaySetBufSync sync);
int sceAppUtilSystemParamGetInt_patched(unsigned int paramId, int *value);
void renderMenu();
void handleInput();
void fetchInformation();
void readConfig();
void writeConfig();
void debugCheckHook(int num, int id);