mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
overlays: add record with overlays setting to settings dialog
This commit is contained in:
parent
0ca4f85dc7
commit
9dc66b46fc
|
|
@ -108,6 +108,7 @@ enum class emu_settings_type
|
||||||
ForceHwMSAAResolve,
|
ForceHwMSAAResolve,
|
||||||
DisableAsyncHostMM,
|
DisableAsyncHostMM,
|
||||||
UseReBAR,
|
UseReBAR,
|
||||||
|
RecordWithOverlays,
|
||||||
|
|
||||||
// Performance Overlay
|
// Performance Overlay
|
||||||
PerfOverlayEnabled,
|
PerfOverlayEnabled,
|
||||||
|
|
@ -311,6 +312,7 @@ inline static const std::map<emu_settings_type, cfg_location> settings_location
|
||||||
{ emu_settings_type::OutputScalingMode, { "Video", "Output Scaling Mode"}},
|
{ emu_settings_type::OutputScalingMode, { "Video", "Output Scaling Mode"}},
|
||||||
{ emu_settings_type::ForceHwMSAAResolve, { "Video", "Force Hardware MSAA Resolve"}},
|
{ emu_settings_type::ForceHwMSAAResolve, { "Video", "Force Hardware MSAA Resolve"}},
|
||||||
{ emu_settings_type::DisableAsyncHostMM, { "Video", "Disable Asynchronous Memory Manager"}},
|
{ emu_settings_type::DisableAsyncHostMM, { "Video", "Disable Asynchronous Memory Manager"}},
|
||||||
|
{ emu_settings_type::RecordWithOverlays, { "Video", "Record With Overlays"}},
|
||||||
|
|
||||||
// Vulkan
|
// Vulkan
|
||||||
{ emu_settings_type::VulkanAsyncTextureUploads, { "Video", "Vulkan", "Asynchronous Texture Streaming 2"}},
|
{ emu_settings_type::VulkanAsyncTextureUploads, { "Video", "Vulkan", "Asynchronous Texture Streaming 2"}},
|
||||||
|
|
|
||||||
|
|
@ -1873,15 +1873,16 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
|
||||||
SubscribeTooltip(ui->useNativeInterface, tooltips.settings.use_native_interface);
|
SubscribeTooltip(ui->useNativeInterface, tooltips.settings.use_native_interface);
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
ui->enableGamemode->setVisible(true);
|
|
||||||
#endif
|
|
||||||
#if defined(GAMEMODE_AVAILABLE)
|
#if defined(GAMEMODE_AVAILABLE)
|
||||||
ui->enableGamemode->setEnabled(true);
|
|
||||||
m_emu_settings->EnhanceCheckBox(ui->enableGamemode, emu_settings_type::EnableGamemode);
|
m_emu_settings->EnhanceCheckBox(ui->enableGamemode, emu_settings_type::EnableGamemode);
|
||||||
SubscribeTooltip(ui->enableGamemode, tooltips.settings.enable_gamemode);
|
SubscribeTooltip(ui->enableGamemode, tooltips.settings.enable_gamemode);
|
||||||
#else
|
#else
|
||||||
|
ui->enableGamemode->setEnabled(false);
|
||||||
SubscribeTooltip(ui->enableGamemode, tooltips.settings.no_gamemode);
|
SubscribeTooltip(ui->enableGamemode, tooltips.settings.no_gamemode);
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
ui->enableGamemode->setVisible(false);
|
||||||
|
#endif
|
||||||
|
|
||||||
m_emu_settings->EnhanceCheckBox(ui->showShaderCompilationHint, emu_settings_type::ShowShaderCompilationHint);
|
m_emu_settings->EnhanceCheckBox(ui->showShaderCompilationHint, emu_settings_type::ShowShaderCompilationHint);
|
||||||
SubscribeTooltip(ui->showShaderCompilationHint, tooltips.settings.show_shader_compilation_hint);
|
SubscribeTooltip(ui->showShaderCompilationHint, tooltips.settings.show_shader_compilation_hint);
|
||||||
|
|
@ -1904,6 +1905,9 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> gui_settings, std
|
||||||
m_emu_settings->EnhanceCheckBox(ui->showCaptureHints, emu_settings_type::ShowCaptureHints);
|
m_emu_settings->EnhanceCheckBox(ui->showCaptureHints, emu_settings_type::ShowCaptureHints);
|
||||||
SubscribeTooltip(ui->showCaptureHints, tooltips.settings.show_capture_hints);
|
SubscribeTooltip(ui->showCaptureHints, tooltips.settings.show_capture_hints);
|
||||||
|
|
||||||
|
m_emu_settings->EnhanceCheckBox(ui->recordWithOverlays, emu_settings_type::RecordWithOverlays);
|
||||||
|
SubscribeTooltip(ui->recordWithOverlays, tooltips.settings.record_with_overlays);
|
||||||
|
|
||||||
m_emu_settings->EnhanceCheckBox(ui->pauseDuringHomeMenu, emu_settings_type::PauseDuringHomeMenu);
|
m_emu_settings->EnhanceCheckBox(ui->pauseDuringHomeMenu, emu_settings_type::PauseDuringHomeMenu);
|
||||||
SubscribeTooltip(ui->pauseDuringHomeMenu, tooltips.settings.pause_during_home_menu);
|
SubscribeTooltip(ui->pauseDuringHomeMenu, tooltips.settings.pause_during_home_menu);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3067,14 +3067,15 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="recordWithOverlays">
|
||||||
|
<property name="text">
|
||||||
|
<string>Record with overlays</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="enableGamemode">
|
<widget class="QCheckBox" name="enableGamemode">
|
||||||
<property name="enabled">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="visible">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Enable GameMode</string>
|
<string>Enable GameMode</string>
|
||||||
</property>
|
</property>
|
||||||
|
|
|
||||||
|
|
@ -155,6 +155,7 @@ public:
|
||||||
const QString show_mouse_and_keyboard_toggle_hint = tr("Shows mouse and keyboard toggle hint using the native overlay.");
|
const QString show_mouse_and_keyboard_toggle_hint = tr("Shows mouse and keyboard toggle hint using the native overlay.");
|
||||||
const QString show_capture_hints = tr("Shows screenshot and recording hints using the native overlay.");
|
const QString show_capture_hints = tr("Shows screenshot and recording hints using the native overlay.");
|
||||||
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.");
|
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.");
|
||||||
|
const QString record_with_overlays = tr("Enables recording with overlays.\nThis also affects screenshots.");
|
||||||
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.");
|
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.");
|
||||||
|
|
||||||
const QString perf_overlay_enabled = tr("Enables or disables the performance overlay.");
|
const QString perf_overlay_enabled = tr("Enables or disables the performance overlay.");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue