mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
sram bugfix + savestate refactoring
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@744 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
d687ef5041
commit
bcc9eda077
6 changed files with 161 additions and 140 deletions
|
@ -388,6 +388,17 @@ typedef struct {
|
|||
extern carthw_state_chunk *carthw_chunks;
|
||||
#define CHUNK_CARTHW 64
|
||||
|
||||
// area.c
|
||||
typedef size_t (arearw)(void *p, size_t _size, size_t _n, void *file);
|
||||
typedef size_t (areaeof)(void *file);
|
||||
typedef int (areaseek)(void *file, long offset, int whence);
|
||||
typedef int (areaclose)(void *file);
|
||||
extern arearw *areaRead; // external read and write function pointers for
|
||||
extern arearw *areaWrite; // gzip save state ability
|
||||
extern areaeof *areaEof;
|
||||
extern areaseek *areaSeek;
|
||||
extern areaclose *areaClose;
|
||||
|
||||
// Cart.c
|
||||
extern void (*PicoCartUnloadHook)(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue