| 1 | #cxx . . $ `<file>/mednafen/mempatcher.h`/ifndef __MDFN_MEMPATCHER_H |
| 2 | #define __MDFN_MEMPATCHER_Hcxx . . $ `mednafen/mempatcher.h:2:9`! |
| 3 | |
| 4 | #include "mempatcher-driver.h"cxx . . $ `<file>/mednafen/mempatcher-driver.h`/ |
| 5 | #include <vector> |
| 6 | |
| 7 | typedef struct __SUBCHEATcxx . . $ __SUBCHEAT# |
| 8 | { |
| 9 | uint32cxx . . $ uint32# addrcxx . . $ __SUBCHEAT#addr.; |
| 10 | uint8cxx . . $ uint8# valuecxx . . $ __SUBCHEAT#value.; |
| 11 | int comparecxx . . $ __SUBCHEAT#compare.; // < 0 on no compare |
| 12 | } SUBCHEATcxx . . $ SUBCHEAT#; |
| 13 | |
| 14 | extern stdcxx . . $ std/::vectorcxx . . $ std/vector#<SUBCHEATcxx . . $ SUBCHEAT#> SubCheatscxx . . $ SubCheats.[8]; |
| 15 | extern bool SubCheatsOncxx . . $ SubCheatsOn.; |
| 16 | |
| 17 | bool MDFNMP_Initcxx . . $ MDFNMP_Init(8e1b545ea3aecce3).(uint32cxx . . $ uint32# ps, uint32cxx . . $ uint32# numpages); |
| 18 | void MDFNMP_AddRAMcxx . . $ MDFNMP_AddRAM(f9255d7bf06fcbb).(uint32cxx . . $ uint32# size, uint32cxx . . $ uint32# address, uint8cxx . . $ uint8# *RAM); |
| 19 | void MDFNMP_Killcxx . . $ MDFNMP_Kill(49f6e7a06ebc5aa8).(void); |
| 20 | |
| 21 | |
| 22 | void MDFNMP_InstallReadPatchescxx . . $ MDFNMP_InstallReadPatches(49f6e7a06ebc5aa8).(void); |
| 23 | void MDFNMP_RemoveReadPatchescxx . . $ MDFNMP_RemoveReadPatches(49f6e7a06ebc5aa8).(void); |
| 24 | |
| 25 | void MDFNMP_ApplyPeriodicCheatscxx . . $ MDFNMP_ApplyPeriodicCheats(49f6e7a06ebc5aa8).(void); |
| 26 | |
| 27 | extern MDFNSettingcxx . . $ MDFNSetting# MDFNMP_Settingscxx . . $ MDFNMP_Settings.[]; |
| 28 | |
| 29 | #endif |