RMG-Core: use CoreGetPluginDirectory() in Settings.cpp for plugins

This commit is contained in:
Rosalie Wanders
2022-01-13 16:01:45 +01:00
parent 9b589c50e1
commit 94651bab91
+8 -8
View File
@@ -151,36 +151,36 @@ static l_Setting get_setting(SettingsID settingId)
case SettingsID::Core_GFX_Plugin:
setting = {SETTING_SECTION_CORE, "GFX_Plugin",
#ifdef _WIN32
"Plugin\\GFX\\mupen64plus-video-GLideN64.dll",
CoreGetPluginDirectory() + "\\GFX\\mupen64plus-video-GLideN64.dll",
#else
"Plugin/GFX/mupen64plus-video-GLideN64.so",
CoreGetPluginDirectory() + "/GFX/mupen64plus-video-GLideN64.so",
#endif // _WIN32
};
break;
case SettingsID::Core_AUDIO_Plugin:
setting = {SETTING_SECTION_CORE, "AUDIO_Plugin",
#ifdef _WIN32
"Plugin\\Audio\\RMG-Audio.dll",
CoreGetPluginDirectory() + "\\Audio\\RMG-Audio.dll",
#else
"Plugin/Audio/RMG-Audio.so",
CoreGetPluginDirectory() + "/Audio/RMG-Audio.so",
#endif // _WIN32
};
break;
case SettingsID::Core_INPUT_Plugin:
setting = {SETTING_SECTION_CORE, "INPUT_Plugin",
#ifdef _WIN32
"Plugin\\Input\\libmupen64plus-input-qt.dll",
CoreGetPluginDirectory() + "\\Input\\libmupen64plus-input-qt.dll",
#else
"Plugin/Input/libmupen64plus-input-qt.so",
CoreGetPluginDirectory() + "/Input/libmupen64plus-input-qt.so",
#endif // _WIN32
};
break;
case SettingsID::Core_RSP_Plugin:
setting = {SETTING_SECTION_CORE, "RSP_Plugin",
#ifdef _WIN32
"Plugin\\RSP\\mupen64plus-rsp-hle.dll",
CoreGetPluginDirectory() + "\\RSP\\mupen64plus-rsp-hle.dll",
#else
"Plugin/RSP/mupen64plus-rsp-hle.so",
CoreGetPluginDirectory() + "/RSP/mupen64plus-rsp-hle.so",
#endif // _WIN32
};
break;