1
From 16f3acaa60b0abb641e1097ffc919439be5dc63a Mon Sep 17 00:00:00 2001
2
From: Sven Eckelmann <sven.eckelmann@gmx.de>
3
Date: Mon, 1 Jun 2009 15:46:01 +0200
4
Subject: [PATCH] Use /usr/lib/mupen64plus as plugin searchpath
7
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
10
1 files changed, 1 insertions(+), 2 deletions(-)
12
diff --git a/main/main.c b/main/main.c
13
index e355091..d57bafd 100644
16
@@ -1476,8 +1476,7 @@ int main(int argc, char *argv[])
17
// if it's not set in the config file, use the /plugins/ sub-folder of the installation directory
18
if (strlen(dirpath) < 2)
20
- strncpy(dirpath, l_InstallDir, PATH_MAX);
21
- strncat(dirpath, "plugins/", PATH_MAX - strlen(dirpath));
22
+ strncpy(dirpath, "/usr/lib/mupen64plus/", PATH_MAX);
23
dirpath[PATH_MAX-1] = '\0';
25
// scan the plugin directory and set the config dir for the plugins