mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
libretro: add savestate support
This commit is contained in:
parent
989ba52a01
commit
86b38dc46d
3 changed files with 145 additions and 15 deletions
9
pico/state.h
Normal file
9
pico/state.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
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);
|
||||
|
||||
int PicoStateFP(void *afile, int is_save,
|
||||
arearw *read, arearw *write, areaeof *eof, areaseek *seek);
|
Loading…
Add table
Add a link
Reference in a new issue