Skip to content

Commit

Permalink
Reset all windows and options
Browse files Browse the repository at this point in the history
  • Loading branch information
aceiii committed Apr 20, 2024
1 parent 60a63c9 commit fb4f6df
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -594,11 +594,17 @@ void Interface::render_main_menu() {

void Interface::reset_windows() {
interface_settings &settings = config.settings;
settings.show_demo = false;
settings.lock_fps = true;
settings.show_fps = false;
settings.show_demo = false;
settings.show_screen = true;
settings.show_memory = true;
settings.show_registers = true;
settings.show_screen = true;
settings.show_logs = true;
settings.show_emulation = true;
settings.show_misc = false;
settings.show_instructions = true;
settings.show_keyboard = true;
init_dock = true;
}

Expand Down

0 comments on commit fb4f6df

Please sign in to comment.