From 51a30977d2e11a9b5dd115a3cb932eab7b4cd280 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Tue, 6 Jun 2023 00:17:25 +0200 Subject: [PATCH] System: use const ref for libs map --- rpcs3/Emu/System.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index 1e4601edef..7e5252c911 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -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")) { - const auto libs = g_cfg.core.libraries_control.get_set(); + const auto& libs = g_cfg.core.libraries_control.get_set(); extern const std::map g_prx_list;