diff options
Diffstat (limited to 'src/lib/util/corefile.h')
-rw-r--r-- | src/lib/util/corefile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util/corefile.h b/src/lib/util/corefile.h index 8f71832411f..5fa6d5af9a7 100644 --- a/src/lib/util/corefile.h +++ b/src/lib/util/corefile.h @@ -140,10 +140,10 @@ protected: /* ----- filename utilities ----- */ /* extract the base part of a filename (remove extensions and paths) */ -std::string core_filename_extract_base(const char *name, bool strip_extension = false); +std::string core_filename_extract_base(const std::string &name, bool strip_extension = false); /* true if the given filename ends with a particular extension */ -int core_filename_ends_with(const char *filename, const char *extension); +bool core_filename_ends_with(const std::string &filename, const std::string &extension); #endif // MAME_LIB_UTIL_COREFILE_H |