Skip to content

Commit f46a433

Browse files
committed
overlays: add record with overlays setting to settings dialog
1 parent 7f29b76 commit f46a433

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

rpcs3/rpcs3qt/emu_settings_type.h

+2
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ enum class emu_settings_type
104104
OutputScalingMode,
105105
ForceHwMSAAResolve,
106106
DisableAsyncHostMM,
107+
RecordWithOverlays,
107108

108109
// Performance Overlay
109110
PerfOverlayEnabled,
@@ -297,6 +298,7 @@ inline static const std::map<emu_settings_type, cfg_location> settings_location
297298
{ emu_settings_type::OutputScalingMode, { "Video", "Output Scaling Mode"}},
298299
{ emu_settings_type::ForceHwMSAAResolve, { "Video", "Force Hardware MSAA Resolve"}},
299300
{ emu_settings_type::DisableAsyncHostMM, { "Video", "Disable Asynchronous Memory Manager"}},
301+
{ emu_settings_type::RecordWithOverlays, { "Video", "Record With Overlays"}},
300302

301303
// Vulkan
302304
{ emu_settings_type::VulkanAsyncTextureUploads, { "Video", "Vulkan", "Asynchronous Texture Streaming 2"}},

rpcs3/rpcs3qt/settings_dialog.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1844,6 +1844,9 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
18441844
m_emu_settings->EnhanceCheckBox(ui->showMouseAndKeyboardToggleHint, emu_settings_type::ShowMouseAndKeyboardToggleHint);
18451845
SubscribeTooltip(ui->showMouseAndKeyboardToggleHint, tooltips.settings.show_mouse_and_keyboard_toggle_hint);
18461846

1847+
m_emu_settings->EnhanceCheckBox(ui->recordWithOverlays, emu_settings_type::RecordWithOverlays);
1848+
SubscribeTooltip(ui->recordWithOverlays, tooltips.settings.record_with_overlays);
1849+
18471850
m_emu_settings->EnhanceCheckBox(ui->pauseDuringHomeMenu, emu_settings_type::PauseDuringHomeMenu);
18481851
SubscribeTooltip(ui->pauseDuringHomeMenu, tooltips.settings.pause_during_home_menu);
18491852

rpcs3/rpcs3qt/settings_dialog.ui

+7
Original file line numberDiff line numberDiff line change
@@ -3008,6 +3008,13 @@
30083008
</property>
30093009
</widget>
30103010
</item>
3011+
<item>
3012+
<widget class="QCheckBox" name="recordWithOverlays">
3013+
<property name="text">
3014+
<string>Record with overlays</string>
3015+
</property>
3016+
</widget>
3017+
</item>
30113018
<item>
30123019
<spacer name="emulatorTabSpacerLeft">
30133020
<property name="orientation">

rpcs3/rpcs3qt/tooltips.h

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ class Tooltips : public QObject
148148
const QString show_analog_limiter_toggle_hint = tr("Shows analog limiter toggle hint using the native overlay.");
149149
const QString show_mouse_and_keyboard_toggle_hint = tr("Shows mouse and keyboard toggle hint using the native overlay.");
150150
const QString use_native_interface = tr("Enables use of native HUD within the game window that can interact with game controllers.\nWhen disabled, regular Qt dialogs are used instead.\nCurrently, the on-screen keyboard only supports the English key layout.");
151+
const QString record_with_overlays = tr("Enables recording with overlays.\nThis also affects screenshots.");
151152
const QString pause_during_home_menu = tr("When enabled, opening the home menu will also pause emulation.\nWhile most games pause themselves while the home menu is shown, some do not.\nIn that case it can be helpful to pause the emulation whenever the home menu is open.");
152153

153154
const QString perf_overlay_enabled = tr("Enables or disables the performance overlay.");

0 commit comments

Comments
 (0)