From bad5d7a2390a72fc80d2e17b6b2b89e9d974295f Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 21 Mar 2017 21:40:47 -0700 Subject: Make save directory configurable. Satisfies ticket:4 --- util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util.h') diff --git a/util.h b/util.h index fc3762e..39413e1 100644 --- a/util.h +++ b/util.h @@ -3,6 +3,7 @@ #include #include +#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 -- cgit v1.2.3