Move out two more functions from Core.cpp. Clean up Windows includes

This commit is contained in:
Henrik Rydgård committed 2024-12-08 12:12:02 +01:00
1 parent 83af54950f
commit 080798b5dd
20 files changed
+33 -35

No files matched your search

+2 -1
View File
@@ -46,6 +46,7 @@
#include "GPU/GPUCommon.h"
#include "GPU/GPUState.h"
#include "UI/EmuScreen.h"
#include "UI/PauseScreen.h"
#include "UI/GameSettingsScreen.h"
#include "UI/ReportScreen.h"
@@ -446,7 +447,7 @@ void GamePauseScreen::CreateViews() {
rightColumnItems->Add(new Choice(pa->T("Exit to menu")))->OnClick.Handle(this, &GamePauseScreen::OnExitToMenu);
}
if (!Core_MustRunBehind()) {
if (!MustRunBehind()) {
playButton_ = middleColumn->Add(new Button("", g_Config.bRunBehindPauseMenu ? ImageID("I_PAUSE") : ImageID("I_PLAY"), new LinearLayoutParams(64, 64)));
playButton_->OnClick.Add([=](UI::EventParams &e) {
g_Config.bRunBehindPauseMenu = !g_Config.bRunBehindPauseMenu;