Debian Codegraph @

mednafen/mempatcher.h

raw symbols SCIP
1 #ifndef __MDFN_MEMPATCHER_H
2 #define __MDFN_MEMPATCHER_H
3
4 #include "mempatcher-driver.h"
5 #include <vector>
6
7 typedef struct __SUBCHEAT
8 {
9 uint32 addr;
10 uint8 value;
11 int compare; // < 0 on no compare
12 } SUBCHEAT;
13
14 extern std::vector<SUBCHEAT> SubCheats[8];
15 extern bool SubCheatsOn;
16
17 bool MDFNMP_Init(uint32 ps, uint32 numpages);
18 void MDFNMP_AddRAM(uint32 size, uint32 address, uint8 *RAM);
19 void MDFNMP_Kill(void);
20
21
22 void MDFNMP_InstallReadPatches(void);
23 void MDFNMP_RemoveReadPatches(void);
24
25 void MDFNMP_ApplyPeriodicCheats(void);
26
27 extern MDFNSetting MDFNMP_Settings[];
28
29 #endif