citra_qt, video_core: Screenshot functionality

Allows capturing screenshot at the current internal resolution (native for software renderer), but a setting is available to capture it in other resolutions. The screenshot is saved to a single PNG in the current layout.
This commit is contained in:
zhupengfei 2018-08-31 14:16:16 +08:00 committed by zhupengfei
parent 7e90abec78
commit 071b41cb61
No known key found for this signature in database
GPG key ID: DD129E108BD09378
14 changed files with 202 additions and 14 deletions

View file

@ -131,6 +131,8 @@
<addaction name="separator"/>
<addaction name="action_Enable_Frame_Advancing"/>
<addaction name="action_Advance_Frame"/>
<addaction name="separator"/>
<addaction name="action_Capture_Screenshot"/>
</widget>
<widget class="QMenu" name="menu_Multiplayer">
<property name="enabled">
@ -315,6 +317,14 @@
<string>Advance Frame</string>
</property>
</action>
<action name="action_Capture_Screenshot">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Capture Screenshot</string>
</property>
</action>
<action name="action_View_Lobby">
<property name="enabled">
<bool>true</bool>