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();