diff --git a/rpcs3/Loader/ELF64.cpp b/rpcs3/Loader/ELF64.cpp index 01036e8bf5..1e9ee31832 100644 --- a/rpcs3/Loader/ELF64.cpp +++ b/rpcs3/Loader/ELF64.cpp @@ -463,8 +463,8 @@ namespace loader be_t::make(BLR()) }; - auto& tbl = vm::get().alloc(stub->s_imports); - auto& dst = vm::get().alloc(stub->s_imports); + const auto& tbl = vm::get().alloc(stub->s_imports); + const auto& dst = vm::get().alloc(stub->s_imports); for (u32 i = 0; i < stub->s_imports; ++i) {