Fix config mode reset
This commit is contained in:
+1
-1
@@ -156,7 +156,7 @@ private:
|
|||||||
static void set_name(std::string);
|
static void set_name(std::string);
|
||||||
|
|
||||||
// Make entry point
|
// 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;
|
friend class thread_ctrl;
|
||||||
|
|
||||||
|
|||||||
@@ -1776,7 +1776,7 @@ void Emulator::Stop(bool restart)
|
|||||||
klic.clear();
|
klic.clear();
|
||||||
hdd1.clear();
|
hdd1.clear();
|
||||||
m_config_path.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.
|
// Always Enable display sleep, not only if it was prevented.
|
||||||
enable_display_sleep();
|
enable_display_sleep();
|
||||||
|
|||||||
Reference in New Issue
Block a user