Add 50/60 Hz switch.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
362c9877d4
commit
783ccb9060
1 changed files with 7 additions and 0 deletions
|
@ -536,6 +536,13 @@ namespace sa2
|
|||
frame->ApplyVideoModeChange();
|
||||
}
|
||||
|
||||
bool hertz50 = video.GetVideoRefreshRate() == VR_50HZ;
|
||||
if (ImGui::Checkbox("50Hz video", &hertz50))
|
||||
{
|
||||
video.SetVideoRefreshRate(hertz50 ? VR_50HZ : VR_60HZ);
|
||||
frame->ApplyVideoModeChange();
|
||||
}
|
||||
|
||||
ImGui::EndTabItem();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue