diff -dupr Mupen64Plus-1-5-src.orig/main/main.c Mupen64Plus-1-5-src/main/main.c --- Mupen64Plus-1-5-src.orig/main/main.c 2009-05-01 09:18:21.387785870 +0200 +++ Mupen64Plus-1-5-src/main/main.c 2009-05-01 09:20:10.998784906 +0200 @@ -1476,8 +1476,7 @@ int main(int argc, char *argv[]) // if it's not set in the config file, use the /plugins/ sub-folder of the installation directory if (strlen(dirpath) < 2) { - strncpy(dirpath, l_InstallDir, PATH_MAX); - strncat(dirpath, "plugins/", PATH_MAX - strlen(dirpath)); + strncpy(dirpath, "%PUT_PLUGIN_PATH_HERE%", PATH_MAX); dirpath[PATH_MAX-1] = '\0'; } // scan the plugin directory and set the config dir for the plugins