picodrive/Pico/patch.h
notaz efcba75f8a lowercasing filenames, part1; makefile adjustments
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@574 be3aeb3a-fb24-0410-a615-afba39da0efa
2008-08-28 12:21:04 +00:00

31 lines
502 B
C

#ifndef _GENIE_DECODE_H__
#define _GENIE_DECODE_H__
#ifdef __cplusplus
extern "C" {
#endif
struct patch_inst
{
char code[12];
char name[52];
unsigned int active;
unsigned int addr;
unsigned short data;
unsigned short data_old;
};
extern struct patch_inst *PicoPatches;
extern int PicoPatchCount;
int PicoPatchLoad(const char *fname);
void PicoPatchUnload(void);
void PicoPatchPrepare(void);
void PicoPatchApply(void);
#ifdef __cplusplus
} // extern "C"
#endif
#endif // _GENIE_DECODE_H__