mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
patch/gg support, 1.201 release
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@58 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
68cba51e20
commit
b67ef287e7
8 changed files with 456 additions and 8 deletions
31
Pico/Patch.h
Normal file
31
Pico/Patch.h
Normal file
|
@ -0,0 +1,31 @@
|
|||
#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__
|
Loading…
Add table
Add a link
Reference in a new issue