Implement running the game in the background on the pause screen. Fix some bugs.

This commit is contained in:
Henrik Rydgård committed 2023-12-11 12:41:44 +01:00
1 parent 9f01661774
commit e8f70594a4
25 files changed
+123 -120

No files matched your search

+1 -3
View File
@@ -517,9 +517,7 @@ void OSDOverlayScreen::CreateViews() {
osmView_ = root_->Add(new OnScreenMessagesView(new UI::AnchorLayoutParams(0.0f, 0.0f, 0.0f, 0.0f)));
}
void OSDOverlayScreen::render(ScreenRenderMode mode) {
UIScreen::render(mode);
void OSDOverlayScreen::DrawForeground(UIContext &ui) {
DebugOverlay debugOverlay = (DebugOverlay)g_Config.iDebugOverlay;
// Special case control for now, since it uses the control mapper that's owned by EmuScreen.