Screenshots: Take the game image while the game is on a TV

An output screenshot reads back the device's own screen, which only has
the touch controls on it then.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Henrik RydgårdandClaude Opus 5.5 committed 2026-10-22 23:07:10 +02:00
1 parent 080470d041
commit ba55ee7e5f
9 files changed
+23

No files matched your search

+3
View File
@@ -526,6 +526,9 @@ void TakeUserScreenshot() {
if (GetUIState() != UISTATE_INGAME) {
// We're out in the UI, no game. The only type of screenshot available is output.
type = ScreenshotType::Output;
} else if (gpu && gpu->PresentsToOtherOutput()) {
// The game is on a TV. The device's own screen only has the controls on it.
type = ScreenshotType::Display;
}
// Close any active popups, so they don't end up in the screenshot.