Debian Codegraph @

mednafen/mempatcher-driver.h

raw symbols SCIP
1 #ifndef __MDFN_MEMPATCHER_DRIVER_H
2 #define __MDFN_MEMPATCHER_DRIVER_H
3
4 #include "mednafen-types.h"
5
6 int MDFNI_DecodePAR(const char *code, uint32 *a, uint8 *v, uint8 *c, char *type);
7 int MDFNI_DecodeGG(const char *str, uint32 *a, uint8 *v, uint8 *c, char *type);
8 int MDFNI_AddCheat(const char *name, uint32 addr, uint64 val, uint64 compare, char type, unsigned int length, bool bigendian);
9 int MDFNI_DelCheat(uint32 which);
10 int MDFNI_ToggleCheat(uint32 which);
11
12 void MDFNI_ListCheats(int (*callb)(char *name, uint32 a, uint64 v, uint64 compare, int s, char type, unsigned int length, bool bigendian, void *data), void *data);
13
14 int MDFNI_GetCheat(uint32 which, char **name, uint32 *a, uint64 *v, uint64 *compare, int *s, char *type, unsigned int *length, bool *bigendian);
15 int MDFNI_SetCheat(uint32 which, const char *name, uint32 a, uint64 v, uint64 compare, int s, char type, unsigned int length, bool bigendian);
16
17 #endif