mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-26 20:25:58 +00:00
fix bug, working seek bar
This commit is contained in:
parent
76adf9000e
commit
4f154bce3c
2 changed files with 3 additions and 2 deletions
|
@ -227,11 +227,12 @@ void SlippiPlaybackStatus::SeekToFrame()
|
|||
Core::SetState(Core::State::Paused);
|
||||
SConfig::GetInstance().m_OCFactor = 1.0f;
|
||||
SConfig::GetInstance().m_OCEnable = false;
|
||||
targetFrameNum = INT_MAX;
|
||||
isHardFFW = false;
|
||||
}
|
||||
|
||||
targetFrameNum = INT_MAX;
|
||||
Core::SetState(prevState);
|
||||
seekMtx.unlock();
|
||||
} else {
|
||||
INFO_LOG(SLIPPI, "Already seeking. Ignoring this call");
|
||||
}
|
||||
|
|
|
@ -422,7 +422,7 @@ void DrawSlippiPlaybackControls()
|
|||
}
|
||||
ImGui::SetCursorPos(ImVec2(0.0f, ImGui::GetWindowHeight() - 30));
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ButtonTextAlign, ImVec2(1.0f, 0.5f));
|
||||
if (ButtonCustom(ICON_FA_PLAY, ImVec2(32.0f, 32.0f))) {
|
||||
if (ButtonCustom(ICON_FA_PAUSE, ImVec2(32.0f, 32.0f))) {
|
||||
INFO_LOG(SLIPPI, "playing");
|
||||
}
|
||||
ImGui::PopStyleVar();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue