diff --git a/src/duckstation-sdl/sdl_host_interface.cpp b/src/duckstation-sdl/sdl_host_interface.cpp index aa9f5bebe..dfb50d43f 100644 --- a/src/duckstation-sdl/sdl_host_interface.cpp +++ b/src/duckstation-sdl/sdl_host_interface.cpp @@ -1170,6 +1170,16 @@ void SDLHostInterface::DrawSettingsWindow() ImGui::NewLine(); if (DrawSettingsSectionHeader("Behavior")) { + ImGui::Text("Emulation Speed:"); + ImGui::SameLine(indent); + + if (ImGui::SliderFloat("##speed", &m_settings.emulation_speed, 0.25f, 5.0f)) + { + settings_changed = true; + if (m_system) + m_system->UpdateThrottlePeriod(); + } + if (ImGui::Checkbox("Enable Speed Limiter", &m_settings.speed_limiter_enabled)) { settings_changed = true;