X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fpico.h;h=870444aef78e53bbab3125cc6b160412e6fc7fc1;hb=b4db550e41b2aa277f570d7bff890c8e8ee1831f;hp=c614aa9278a29d7813f5b62b8700435e3ccd4ac4;hpb=a736af3ecf708652f90e9cb05445d984960a0eec;p=picodrive.git diff --git a/pico/pico.h b/pico/pico.h index c614aa9..870444a 100644 --- a/pico/pico.h +++ b/pico/pico.h @@ -34,6 +34,7 @@ extern void cache_flush_d_inval_i(const void *start_addr, const void *end_addr); // attempt to alloc mem at specified address. // alloc anywhere else if that fails (callers should handle that) extern void *plat_mmap(unsigned long addr, size_t size); +extern void *plat_mremap(void *ptr, size_t oldsize, size_t newsize); extern void plat_munmap(void *ptr, size_t size); // this one should handle display mode changes @@ -119,12 +120,11 @@ extern picohw_state PicoPicohw; // area.c int PicoState(const char *fname, int is_save); -int PicoStateLoadVDP(const char *fname); +int PicoStateLoadGfx(const char *fname); +void *PicoTmpStateSave(void); +void PicoTmpStateRestore(void *data); extern void (*PicoStateProgressCB)(const char *str); -// cd/area.c -int PicoCdLoadStateGfx(void *file); - // cd/buffering.c void PicoCDBufferInit(void); void PicoCDBufferFree(void);