mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 01:49:33 -06:00
Merge pull request #13046 from SuperSamus/vi-overclock
Add VBI Frequency Override
This commit is contained in:
@ -100,6 +100,12 @@ enum class BooleanSetting(
|
||||
"OverclockEnable",
|
||||
false
|
||||
),
|
||||
MAIN_VI_OVERCLOCK_ENABLE(
|
||||
Settings.FILE_DOLPHIN,
|
||||
Settings.SECTION_INI_CORE,
|
||||
"VIOverclockEnable",
|
||||
false
|
||||
),
|
||||
MAIN_RAM_OVERRIDE_ENABLE(
|
||||
Settings.FILE_DOLPHIN,
|
||||
Settings.SECTION_INI_CORE,
|
||||
|
@ -11,6 +11,7 @@ enum class FloatSetting(
|
||||
// These entries have the same names and order as in C++, just for consistency.
|
||||
MAIN_EMULATION_SPEED(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "EmulationSpeed", 1.0f),
|
||||
MAIN_OVERCLOCK(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "Overclock", 1.0f),
|
||||
MAIN_VI_OVERCLOCK(Settings.FILE_DOLPHIN, Settings.SECTION_INI_CORE, "VIOverclock", 1.0f),
|
||||
GFX_CC_GAME_GAMMA(Settings.FILE_GFX, Settings.SECTION_GFX_COLOR_CORRECTION, "GameGamma", 2.35f);
|
||||
|
||||
override val isOverridden: Boolean
|
||||
|
@ -1027,6 +1027,27 @@ class SettingsFragmentPresenter(
|
||||
false
|
||||
)
|
||||
)
|
||||
sl.add(
|
||||
SwitchSetting(
|
||||
context,
|
||||
BooleanSetting.MAIN_VI_OVERCLOCK_ENABLE,
|
||||
R.string.vi_overclock_enable,
|
||||
R.string.vi_overclock_enable_description
|
||||
)
|
||||
)
|
||||
sl.add(
|
||||
PercentSliderSetting(
|
||||
context,
|
||||
FloatSetting.MAIN_VI_OVERCLOCK,
|
||||
R.string.vi_overclock_title,
|
||||
R.string.vi_overclock_title_description,
|
||||
0f,
|
||||
500f,
|
||||
"%",
|
||||
1f,
|
||||
false
|
||||
)
|
||||
)
|
||||
|
||||
val mem1Size = ScaledIntSetting(1024 * 1024, IntSetting.MAIN_MEM1_SIZE)
|
||||
val mem2Size = ScaledIntSetting(1024 * 1024, IntSetting.MAIN_MEM2_SIZE)
|
||||
|
@ -376,7 +376,7 @@
|
||||
<string name="enable_cpu_cache_description">Enables emulation of the CPU write-back cache. Enabling will have a significant impact on performance. This should be left disabled unless absolutely needed.</string>
|
||||
<string name="clock_override">Clock Override</string>
|
||||
<string name="overclock_enable">Override Emulated CPU Clock Speed</string>
|
||||
<string name="overclock_enable_description">Higher values can make variable-framerate games run at a higher framerate, requiring a powerful device. Lower values make games run at a lower framerate, increasing emulation speed, but reducing the emulated console\'s performance.</string>
|
||||
<string name="overclock_enable_description">On games that have an unstable frame rate despite full emulation speed, higher values can improve their performance, requiring a powerful device. Lower values reduce the emulated console\'s performance, but improve the emulation speed.</string>
|
||||
<string name="overclock_title">Emulated CPU Clock Speed</string>
|
||||
<string name="overclock_title_description">Adjusts the emulated CPU\'s clock rate if \"Override Emulated CPU Clock Speed\" is enabled.</string>
|
||||
<string name="memory_override">Memory Override</string>
|
||||
@ -385,6 +385,10 @@
|
||||
<string name="main_mem1_size">MEM1 Size</string>
|
||||
<string name="main_mem2_size">MEM2 Size</string>
|
||||
<string name="gpu_options">GPU Options</string>
|
||||
<string name="vi_overclock_enable">Override VBI Frequency</string>
|
||||
<string name="vi_overclock_enable_description">Makes games run at a different frame rate, making the emulation less demanding when lowered, or improving smoothness when increased. This may affect gameplay speed, as it is often tied to the frame rate.</string>
|
||||
<string name="vi_overclock_title">VBI Frequency</string>
|
||||
<string name="vi_overclock_title_description">Adjusts the VBI frequency rate if \"Override VBI Frequency\" is enabled.\nAlso adjusts the emulated CPU\'s clock speed, to keep it relatively the same.</string>
|
||||
<string name="synchronize_gpu_thread">Synchronize GPU Thread</string>
|
||||
<string name="synchronize_gpu_thread_description">Synchronizing the GPU thread reduces the risk of games crashing or becoming unstable with dual core enabled, but can also reduce the performance gain of dual core. If unsure, select \"On Idle Skipping\". Selecting \"Never\" is risky and not recommended!</string>
|
||||
<string name="custom_rtc_options">Custom RTC Options</string>
|
||||
|
Reference in New Issue
Block a user