We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 077bbd7 + b274766 commit 4e9948aCopy full SHA for 4e9948a
src/gui/gui.cc
@@ -1206,6 +1206,13 @@ void PCSX::GUI::endFrame() {
1206
if (ImGui::BeginMainMenuBar()) {
1207
if (ImGui::BeginMenu(_("File"))) {
1208
showOpenIsoFileDialog = ImGui::MenuItem(_("Open Disk Image"));
1209
+ auto currentIso = PCSX::g_emulator->m_cdrom->getIso();
1210
+ if (ImGui::MenuItem(_("Reload Disk Image"), nullptr, nullptr, currentIso && !currentIso->failed())) {
1211
+ PCSX::g_emulator->m_cdrom->clearIso();
1212
+ PCSX::g_emulator->m_cdrom->setIso(new CDRIso(currentIso->getIsoPath()));
1213
+ PCSX::g_emulator->m_cdrom->check();
1214
+ g_system->hardReset();
1215
+ }
1216
if (ImGui::MenuItem(_("Close Disk Image"))) {
1217
PCSX::g_emulator->m_cdrom->setIso(new CDRIso(new FailedFile));
1218
PCSX::g_emulator->m_cdrom->check();
0 commit comments