diff util.h @ 2425:794ba17f0716

Make termhelper work when current working directory is not the one that contains blastem
author Michael Pavone <pavone@retrodev.com>
date Wed, 24 Jan 2024 20:18:17 -0800
parents bdd83b47d78a
children
line wrap: on
line diff
--- a/util.h	Wed Jan 24 18:51:44 2024 -0800
+++ b/util.h	Wed Jan 24 20:18:17 2024 -0800
@@ -66,6 +66,8 @@
 char const *get_config_dir();
 //Returns an appropriate path for saving non-config data like savestates
 char const *get_userdata_dir();
+//Returns the path of a file bundled with the executable
+char *bundled_file_path(char *name);
 //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