Lines 982-988
Link Here
|
982 |
if(strlen(g_InstallDir) == 0) |
982 |
if(strlen(g_InstallDir) == 0) |
983 |
{ |
983 |
{ |
984 |
strncpy(g_InstallDir, PREFIX, PATH_MAX); |
984 |
strncpy(g_InstallDir, PREFIX, PATH_MAX); |
985 |
strncat(g_InstallDir, "/share/mupen64plus/", PATH_MAX - strlen(g_InstallDir)); |
985 |
strncat(g_InstallDir, "/mupen64plus/", PATH_MAX - strlen(g_InstallDir)); |
986 |
|
986 |
|
987 |
// if install dir is not in the default location, try the same dir as the binary |
987 |
// if install dir is not in the default location, try the same dir as the binary |
988 |
if(!isdir(g_InstallDir)) |
988 |
if(!isdir(g_InstallDir)) |