about summary refs log tree commit diff
path: root/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'path.h')
-rw-r--r--path.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/path.h b/path.h
index 05caa62..f3832d9 100644
--- a/path.h
+++ b/path.h
@@ -36,11 +36,6 @@ pathSearch(const char *base, const char *pref, const char **names, size_t len) {
 	return NULL;
 }
 
-static inline SDL_RWops *
-pathFind(const char *base, const char *pref, const char *name) {
-	return pathSearch(base, pref, &name, 1);
-}
-
 static inline SDL_RWops *pathCards(const char *base, const char *pref) {
 	const char *names[3] = { "CARDS.DLL", "SOL.EXE", "cards.dll" };
 	SDL_RWops *rw = pathSearch(base, pref, names, 3);
@@ -54,4 +49,9 @@ static inline SDL_RWops *pathCards(const char *base, const char *pref) {
 	return NULL;
 }
 
+static inline SDL_RWops *pathFreeCell(const char *base, const char *pref) {
+	const char *names[2] = { "FREECELL.EXE", "freecell.exe" };
+	return pathSearch(base, pref, names, 2);
+}
+
 #endif