mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 01:33:45 +01:00
Win32: Fix a bug in fullscreen. Consolidate the fullscreen code into one function. 99% of the code is the same anyway.
This commit is contained in:
1 parent
8da08ea686
commit
023eb30b3e
3 files changed
+28
-58
No files matched your search
@@ -336,10 +336,7 @@ bool WindowsHost::CreateDesktopShortcut(std::string argumentPath, std::string ga
|
||||
}
|
||||
|
||||
void WindowsHost::GoFullscreen(bool viewFullscreen) {
|
||||
if (viewFullscreen)
|
||||
MainWindow::SwitchToFullscreen(mainWindow_);
|
||||
else
|
||||
MainWindow::SwitchToWindowed(mainWindow_);
|
||||
MainWindow::ToggleFullscreen(mainWindow_, viewFullscreen);
|
||||
}
|
||||
|
||||
void WindowsHost::ToggleDebugConsoleVisibility() {
|
||||
|
||||
Reference in new issue
Block a user