diff options
| author | Maufeat <sahyno1996@gmail.com> | 2025-11-27 19:46:41 +0100 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2025-11-27 19:46:41 +0100 |
| commit | f58097e814ebb000f23acbe26f096c8c4368da73 (patch) | |
| tree | 815402cc40eb6ce1f69cd977d411257c49f347ce /src/yuzu/main_window.cpp | |
| parent | 1efef853529074adc4c7c1b43bcd3288e4b43004 (diff) | |
[hle,display,overlay,starter,hid] add overlay functions, starter applet (initially), HID handheld for system applets and fw21 stubs (#3080)
Adds fully functional overlay display.
- Enable Overlay Applet via "View" -> "Enable Overlay Display Applet"
- Open the overlay by pressing the home button for over 1s
- Can adjust volume
- Can toggle airplane mode (if on WiFi, maybe if overlay is enabled pretend to be on WiFi?)
- Future TODO(?): Adjust Brightness implementation for host system
- Inputs are properly registered. e.g. if overlay open, application does not register inputs.
You can control volume and airplane mode outside of the emulator window
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3080
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-by: crueter <crueter@eden-emu.dev>
Co-authored-by: Maufeat <sahyno1996@gmail.com>
Co-committed-by: Maufeat <sahyno1996@gmail.com>
Diffstat (limited to 'src/yuzu/main_window.cpp')
| -rw-r--r-- | src/yuzu/main_window.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu/main_window.cpp b/src/yuzu/main_window.cpp index 92741bd328..62b2f0561f 100644 --- a/src/yuzu/main_window.cpp +++ b/src/yuzu/main_window.cpp @@ -1513,8 +1513,7 @@ void MainWindow::RestoreUIState() { ui->action_Fullscreen->setChecked(UISettings::values.fullscreen.GetValue()); - ui->action_Display_Dock_Widget_Headers->setChecked( - UISettings::values.display_titlebar.GetValue()); + ui->action_Enable_Overlay_Applet->setChecked(Settings::values.enable_overlay.GetValue()); ui->action_Show_Filter_Bar->setChecked(UISettings::values.show_filter_bar.GetValue()); game_list->SetFilterVisible(ui->action_Show_Filter_Bar->isChecked()); @@ -4408,10 +4407,11 @@ void MainWindow::UpdateUISettings() { UISettings::values.state = saveState(); UISettings::values.single_window_mode = ui->action_Single_Window_Mode->isChecked(); UISettings::values.fullscreen = ui->action_Fullscreen->isChecked(); - UISettings::values.display_titlebar = ui->action_Display_Dock_Widget_Headers->isChecked(); UISettings::values.show_filter_bar = ui->action_Show_Filter_Bar->isChecked(); UISettings::values.show_status_bar = ui->action_Show_Status_Bar->isChecked(); UISettings::values.first_start = false; + + Settings::values.enable_overlay = ui->action_Enable_Overlay_Applet->isChecked(); } void MainWindow::UpdateInputDrivers() { |
