1 #ifndef _LIBRETRO_SHARED_H 2 #define _LIBRETRO_SHARED_H 3 4 #ifdef _WIN32 5 #define snprintf _snprintf 6 #endif 7 8 void retro_create_subpath_string(char *fname, size_t fname_size, const char * dir, const char * subdir, const char * filename); 9 void retro_create_path_string(char *fname, size_t fname_size, const char * dir, const char * filename); 10 const char* retro_get_save_dir(); 11 void retro_init_saves(); 12 bool retro_copy_file(const char* from, const char* to); 13 14 extern char g_dir[1024]; 15 16 #endif 17