mirror of
https://github.com/Rosalie241/RMG.git
synced 2026-07-11 01:24:01 +02:00
RMG-Core: use CoreGetPluginDirectory() in Settings.cpp for plugins
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user