X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FPico.h;h=0d8bcf0c0d59150d7b42965961742bca6a499d82;hb=860c6322c346c8e2ec2a4626e79f26d8b0d23777;hp=7341a4c99155c5946d901af034aa529a6a8e62c4;hpb=76276b0bc0b532394d1ba067bf2b17a27b0b3be6;p=picodrive.git diff --git a/Pico/Pico.h b/Pico/Pico.h index 7341a4c..0d8bcf0 100644 --- a/Pico/Pico.h +++ b/Pico/Pico.h @@ -50,12 +50,14 @@ 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