z80/ym2612 reset handling improved
[picodrive.git] / Pico / Patch.h
... / ...
CommitLineData
1#ifndef _GENIE_DECODE_H__
2#define _GENIE_DECODE_H__
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8struct patch_inst
9{
10 char code[12];
11 char name[52];
12 unsigned int active;
13 unsigned int addr;
14 unsigned short data;
15 unsigned short data_old;
16};
17
18extern struct patch_inst *PicoPatches;
19extern int PicoPatchCount;
20
21int PicoPatchLoad(const char *fname);
22void PicoPatchUnload(void);
23void PicoPatchPrepare(void);
24void PicoPatchApply(void);
25
26
27#ifdef __cplusplus
28} // extern "C"
29#endif
30
31#endif // _GENIE_DECODE_H__