Rework the internal API for applying the fullscreen state. Fixes.

This commit is contained in:
Henrik Rydgård committed 2026-02-02 11:45:46 +01:00
1 parent d331af58ab
commit ad4da764df
15 files changed
+85 -102

No files matched your search

+3 -1
View File
@@ -971,7 +971,9 @@ void EmuScreen::ProcessVKey(VirtKey virtKey) {
break;
case VIRTKEY_TOGGLE_FULLSCREEN:
System_ToggleFullscreenState("");
// TODO: Limit to platforms that can support fullscreen.
g_Config.bFullScreen = !g_Config.bFullScreen;
System_ApplyFullscreenState();
break;
case VIRTKEY_TOGGLE_TOUCH_CONTROLS: