diff --git a/Utilities/Config.h b/Utilities/Config.h index 57ad9fb359..586d3de27f 100644 --- a/Utilities/Config.h +++ b/Utilities/Config.h @@ -133,7 +133,7 @@ namespace cfg return m_value; } - bool get() const + const bool& get() const { return m_value; } @@ -184,7 +184,7 @@ namespace cfg return m_value; } - T get() const + const T& get() const { return m_value; } @@ -247,7 +247,7 @@ namespace cfg return m_value; } - int_type get() const + const int_type& get() const { return m_value; } @@ -347,7 +347,7 @@ namespace cfg { } - std::set get_set() const + const std::set& get_set() const { return m_set; } @@ -382,7 +382,7 @@ namespace cfg { } - std::map get_map() const + const std::map& get_map() const { return m_map; } diff --git a/rpcs3/Emu/Cell/SPUThread.cpp b/rpcs3/Emu/Cell/SPUThread.cpp index 2e720143dc..2f89989e04 100644 --- a/rpcs3/Emu/Cell/SPUThread.cpp +++ b/rpcs3/Emu/Cell/SPUThread.cpp @@ -467,8 +467,12 @@ const auto spu_putllc_tx = build_function_asm spu_block_size{this, "SPU Block Size", spu_block_size_type::safe}; cfg::_bool spu_accurate_getllar{this, "Accurate GETLLAR", false}; cfg::_bool spu_accurate_putlluc{this, "Accurate PUTLLUC", false}; + cfg::_bool spu_accurate_putllc{this, "Accurate PUTLLC", false}; cfg::_bool spu_verification{this, "SPU Verification", true}; // Should be enabled cfg::_bool spu_cache{this, "SPU Cache", true}; cfg::_enum enable_TSX{this, "Enable TSX", tsx_usage::enabled}; // Enable TSX. Forcing this on Haswell/Broadwell CPUs should be used carefully