From f72d148d37441066682c723f5f357ed032171f79 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Tue, 5 Oct 2021 18:38:52 +0200 Subject: [PATCH] Fix config mode reset --- Utilities/Thread.h | 2 +- rpcs3/Emu/System.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Utilities/Thread.h b/Utilities/Thread.h index bd6cbf548e..54731c4454 100644 --- a/Utilities/Thread.h +++ b/Utilities/Thread.h @@ -156,7 +156,7 @@ private: static void set_name(std::string); // Make entry point - static native_entry make_trampoline(u64(*)(thread_base*)); + static native_entry make_trampoline(u64(*entry)(thread_base* _base)); friend class thread_ctrl; diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index 9bddc383a0..bfb64b7abb 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -1776,7 +1776,7 @@ void Emulator::Stop(bool restart) klic.clear(); hdd1.clear(); m_config_path.clear(); - m_config_mode == cfg_mode::custom; + m_config_mode = cfg_mode::custom; // Always Enable display sleep, not only if it was prevented. enable_display_sleep();