Skip to content

Commit

Permalink
Added 200% option for EE overclocking
Browse files Browse the repository at this point in the history
  • Loading branch information
crashGG committed Feb 23, 2025
1 parent 02789eb commit 03d1601
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions pcsx2-qt/Settings/EmulationSettingsWidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@
<string>180% (Overclock)</string>
</property>
</item>
<item>
<property name="text">
<string>200% (Overclock)</string>
</property>
</item>
<item>
<property name="text">
<string>300% (Overclock)</string>
Expand Down
2 changes: 2 additions & 0 deletions pcsx2/ImGui/FullscreenUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3349,6 +3349,7 @@ void FullscreenUI::DrawEmulationSettingsPage()
FSUI_NSTR("100% Speed (Default)"),
FSUI_NSTR("130% Speed"),
FSUI_NSTR("180% Speed"),
FSUI_NSTR("200% Speed"),
FSUI_NSTR("300% Speed"),
};
static constexpr const char* ee_cycle_skip_settings[] = {
Expand Down Expand Up @@ -7450,6 +7451,7 @@ TRANSLATE_NOOP("FullscreenUI", "75% Speed");
TRANSLATE_NOOP("FullscreenUI", "100% Speed (Default)");
TRANSLATE_NOOP("FullscreenUI", "130% Speed");
TRANSLATE_NOOP("FullscreenUI", "180% Speed");
TRANSLATE_NOOP("FullscreenUI", "200% Speed");
TRANSLATE_NOOP("FullscreenUI", "300% Speed");
TRANSLATE_NOOP("FullscreenUI", "Normal (Default)");
TRANSLATE_NOOP("FullscreenUI", "Mild Underclock");
Expand Down
5 changes: 4 additions & 1 deletion pcsx2/VU0microInterp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,10 @@ void InterpVU0::Execute(u32 cycles)
case 2: // 180%
cycle_change /= 1.8f;
break;
case 3: // 300%
case 3: // 200%
cycle_change /= 2.0f;
break;
case 4: // 300%
cycle_change /= 3.0f;
break;
default:
Expand Down

0 comments on commit 03d1601

Please sign in to comment.