Skip to content

Commit

Permalink
Add option to toggle dynarec loop optimizations.
Browse files Browse the repository at this point in the history
  • Loading branch information
masterfeizz committed Dec 7, 2020
1 parent f452a4a commit 44ecf2d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Source/SysCTR/UI/InGameMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,14 @@ bool UI::DrawOptionsPage(RomID mRomID)

ImGui::Spacing();

ImGui::Text("Dynarec Loop Optimizations");
HelpMarker("Enable loop optimizations for better performance\n Can cause freezes!!!");
ImGui::Checkbox("##speedsync", (bool*)&romPreferences.DynarecLoopOptimisation);
ImGui::SameLine();
ImGui::Text(romPreferences.DynarecLoopOptimisation ? "Enabled" : "Disabled");

ImGui::Spacing();

ImGui::Text("Limit Framerate");
ImGui::Checkbox("##speedsync", (bool*)&romPreferences.SpeedSyncEnabled);
ImGui::SameLine();
Expand Down

0 comments on commit 44ecf2d

Please sign in to comment.