Implement lib_loading_type::liblv2both

This commit is contained in:
Nekotekina 2019-08-06 20:59:41 +03:00
parent 87bf0386c4
commit ae46333e99
6 changed files with 23 additions and 5 deletions

View file

@ -49,6 +49,7 @@ void fmt_class_string<lib_loading_type>::format(std::string& out, u64 arg)
case lib_loading_type::manual: return "Manually load selected libraries";
case lib_loading_type::both: return "Load automatic and manual selection";
case lib_loading_type::liblv2only: return "Load liblv2.sprx only";
case lib_loading_type::liblv2both: return "Load liblv2.sprx and manual selection";
}
return unknown;
@ -1281,7 +1282,7 @@ void ppu_load_exec(const ppu_exec_object& elf)
// Load required set of modules (lib_loading_type::both processed in sys_prx.cpp)
load_libs = g_cfg.core.load_libraries.get_set();
}
else if (g_cfg.core.lib_loading == lib_loading_type::liblv2only)
else if (g_cfg.core.lib_loading == lib_loading_type::liblv2only || g_cfg.core.lib_loading == lib_loading_type::liblv2both)
{
// Load only liblv2.sprx
load_libs.emplace("liblv2.sprx");