1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 20:22:30 +01:00

System: use const ref for libs map

This commit is contained in:
Megamouse 2023-06-06 00:17:25 +02:00
parent c0366ba40c
commit 51a30977d2

View File

@ -2036,7 +2036,7 @@ game_boot_result Emulator::Load(const std::string& title_id, bool is_disc_patch,
if (ppu_exec == elf_error::ok && !fs::is_file(g_cfg_vfs.get_dev_flash() + "sys/external/liblv2.sprx")) if (ppu_exec == elf_error::ok && !fs::is_file(g_cfg_vfs.get_dev_flash() + "sys/external/liblv2.sprx"))
{ {
const auto libs = g_cfg.core.libraries_control.get_set(); const auto& libs = g_cfg.core.libraries_control.get_set();
extern const std::map<std::string_view, int> g_prx_list; extern const std::map<std::string_view, int> g_prx_list;