mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 18:49:51 +01:00
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:
1 parent
080470d041
commit
ba55ee7e5f
9 files changed
+23
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user