mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 05:45:38 +00:00
SDL: Add remove disc menu option
This commit is contained in:
parent
340640821e
commit
fa027d9c2a
|
@ -599,6 +599,12 @@ void SDLHostInterface::DrawMainMenuBar()
|
||||||
ClearImGuiFocus();
|
ClearImGuiFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ImGui::MenuItem("Remove Disc", nullptr, false, system_enabled))
|
||||||
|
{
|
||||||
|
RunLater([this]() { m_system->RemoveMedia(); });
|
||||||
|
ClearImGuiFocus();
|
||||||
|
}
|
||||||
|
|
||||||
if (ImGui::MenuItem("Frame Step", nullptr, false, system_enabled))
|
if (ImGui::MenuItem("Frame Step", nullptr, false, system_enabled))
|
||||||
{
|
{
|
||||||
RunLater([this]() { DoFrameStep(); });
|
RunLater([this]() { DoFrameStep(); });
|
||||||
|
|
Loading…
Reference in a new issue