Mercurial > repos > blastem
diff util.h @ 2156:237068a25523
Added UI for setting firmware paths
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 28 Apr 2022 18:41:16 -0700 |
parents | 441d5d6cea2f |
children | bdd83b47d78a |
line wrap: on
line diff
--- a/util.h Wed Apr 06 21:44:46 2022 -0700 +++ b/util.h Thu Apr 28 18:41:16 2022 -0700 @@ -49,7 +49,7 @@ //Returns the extension from a path or NULL if there is no extension char *path_extension(char const *path); //Returns true if the given path matches one of the extensions in the list -uint8_t path_matches_extensions(char *path, char **ext_list, uint32_t num_exts); +uint8_t path_matches_extensions(char *path, const char **ext_list, uint32_t num_exts); //Returns the directory portion of a path or NULL if there is no directory part char *path_dirname(const char *path); //Gets the smallest power of two that is >= a certain value, won't work for values > 0x80000000