From d4d04ffa63a2dcef8f661ef7155a9f793f72366b Mon Sep 17 00:00:00 2001 From: David Auer Date: Sun, 5 Jan 2025 15:41:35 +0100 Subject: [PATCH] Add lib64 to plugin search paths on unix --- src/osal_files_unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osal_files_unix.c b/src/osal_files_unix.c index 3485116..9fd2ac9 100644 --- a/src/osal_files_unix.c +++ b/src/osal_files_unix.c @@ -37,8 +37,8 @@ /* definitions for system directories to search when looking for mupen64plus plugins */ #if defined(PLUGINDIR) - const int osal_libsearchdirs = 4; - const char *osal_libsearchpath[4] = { PLUGINDIR, "/usr/local/lib/mupen64plus", "/usr/lib/mupen64plus", "./" }; + const int osal_libsearchdirs = 5; + const char *osal_libsearchpath[5] = { PLUGINDIR, "/usr/local/lib/mupen64plus", "/usr/lib/mupen64plus", "/usr/lib64/mupen64plus/", "./" }; #else const int osal_libsearchdirs = 3; const char *osal_libsearchpath[3] = { "/usr/local/lib/mupen64plus", "/usr/lib/mupen64plus", "./" };