X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FPico.h;h=0d8bcf0c0d59150d7b42965961742bca6a499d82;hb=860c6322c346c8e2ec2a4626e79f26d8b0d23777;hp=7e7633cc45c12fa9860236e3b20bc5284162199a;hpb=7a93adeb29f01f5867ff36606cd73a382b6ee0e3;p=picodrive.git diff --git a/Pico/Pico.h b/Pico/Pico.h index 7e7633c..0d8bcf0 100644 --- a/Pico/Pico.h +++ b/Pico/Pico.h @@ -50,12 +50,15 @@ int PicoFrameMCD(void); 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); // Save or load the state from PmovFile: int PmovState(int PmovAction, void *PmovFile); // &1=for reading &2=for writing &4=volatile &8=non-volatile 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; +extern void (*PicoStateProgressCB)(const char *str); // Cart.c int PicoCartLoad(FILE *f,unsigned char **prom,unsigned int *psize);