X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fcommon%2Fplat.h;h=1fb87676b8a4e3abd7f6cd5ff124d47a1e4d55e5;hp=c16f8885dcd9b2f1c3c8e1c1b00b1e6daf2aa201;hb=0e2e3f498456d1175916ecd69d0a9e80e701e760;hpb=698517be481301b4525c29873134a67b8343af3c diff --git a/frontend/common/plat.h b/frontend/common/plat.h index c16f8885..1fb87676 100644 --- a/frontend/common/plat.h +++ b/frontend/common/plat.h @@ -33,6 +33,7 @@ void plat_status_msg_clear(void); void plat_video_menu_enter(int is_rom_loaded); void plat_video_menu_begin(void); void plat_video_menu_end(void); +void plat_video_menu_leave(void); void plat_video_flip(void); void plat_video_wait_vsync(void); @@ -44,12 +45,15 @@ int plat_is_dir(const char *path); int plat_wait_event(int *fds_hnds, int count, int timeout_ms); void plat_sleep_ms(int ms); +void *plat_mmap(unsigned long addr, size_t size, int need_exec, int is_fixed); +void *plat_mremap(void *ptr, size_t oldsize, size_t newsize); +void plat_munmap(void *ptr, size_t size); + /* timers, to be used for time diff and must refer to the same clock */ unsigned int plat_get_ticks_ms(void); unsigned int plat_get_ticks_us(void); void plat_wait_till_us(unsigned int us); -const char *plat_get_credits(void); void plat_debug_cat(char *str); #ifdef __cplusplus