diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-03-21 21:40:47 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-03-21 21:40:47 -0700 |
commit | bad5d7a2390a72fc80d2e17b6b2b89e9d974295f (patch) | |
tree | 16160a9845fb8a75c8f4ff5b315713d391ba17f0 /util.h | |
parent | a435c3b1135d56802fa2c4f17ff498f37cde98d7 (diff) |
Make save directory configurable. Satisfies ticket:4
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,6 +3,7 @@ #include <stdio.h> #include <time.h> +#include "tern.h" typedef struct { char *name; @@ -50,7 +51,7 @@ char * get_home_dir(); //Returns an appropriate path for storing config files char const *get_config_dir(); //Returns an appropriate path for saving non-config data like savestates -char const *get_save_dir(); +char const *get_userdata_dir(); //Reads a file bundled with the executable char *read_bundled_file(char *name, uint32_t *sizeret); //Retunrs an array of normal files and directories residing in a directory |