mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-30 20:30:52 +00:00
31 lines
628 B
C++
31 lines
628 B
C++
#ifndef __MDFN_MEMPATCHER_H
|
|
#define __MDFN_MEMPATCHER_H
|
|
|
|
#include "mempatcher-driver.h"
|
|
#include <vector>
|
|
|
|
typedef struct __SUBCHEAT
|
|
{
|
|
uint32 addr;
|
|
uint8 value;
|
|
int compare; // < 0 on no compare
|
|
} SUBCHEAT;
|
|
|
|
extern std::vector<SUBCHEAT> SubCheats[8];
|
|
extern bool SubCheatsOn;
|
|
|
|
bool MDFNMP_Init(uint32 ps, uint32 numpages);
|
|
void MDFNMP_AddRAM(uint32 size, uint32 address, uint8 *RAM);
|
|
void MDFNMP_Kill(void);
|
|
|
|
|
|
void MDFNMP_InstallReadPatches(void);
|
|
void MDFNMP_RemoveReadPatches(void);
|
|
|
|
void MDFNMP_ApplyPeriodicCheats(void);
|
|
void MDFNMP_RegSearchable(uint32 addr, uint32 size);
|
|
|
|
extern MDFNSetting MDFNMP_Settings[];
|
|
|
|
#endif
|