Fix config mode reset

This commit is contained in:
Megamouse 2021-10-05 18:38:52 +02:00
parent d8435163bb
commit f72d148d37
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

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