From 754f250ef420f11225d3f9f75157c4c02287deff Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 02 Aug 2021 01:43:44 -0400 Subject: dirs: New functions --- (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 648bac8..2180655 100644 --- a/src/main.c +++ b/src/main.c @@ -21,6 +21,7 @@ #include #include #include "defs.h" +#include "dirs.h" static SDL_Window *_mf_window; static SDL_Renderer *_mf_renderer; @@ -86,6 +87,9 @@ int main(int argc __attribute__((__unused__)), char *argv[] __attribute__((__unused__))) { + /* Find data directories */ + mf_find_dirs(argv[0]); + /* Initialize SDL libraries */ if (_mf_init() < 0) { return EXIT_FAILURE; -- cgit v0.9.1