Mercurial > repos > blastem
diff util.h @ 875:54ffba3768d6
Make menu stuff work on Android (theoretically)
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 08 Nov 2015 22:03:34 -0800 |
parents | 69a6ec208111 |
children | 540cc4a7d626 |
line wrap: on
line diff
--- a/util.h Sun Nov 08 18:38:33 2015 -0800 +++ b/util.h Sun Nov 08 22:03:34 2015 -0800 @@ -28,6 +28,10 @@ char * get_exe_dir(); //Returns the user's home directory char * get_home_dir(); +//Returns an appropriate path for storing config files +char *get_config_dir(); +//Reads a file bundled with the executable +char *read_bundled_file(char *name, long *sizeret); //Retunrs an array of normal files and directories residing in a directory dir_entry *get_dir_list(char *path, size_t *numret); //Frees a dir list returned by get_dir_list