File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1206,6 +1206,13 @@ void PCSX::GUI::endFrame() {
1206
1206
if (ImGui::BeginMainMenuBar ()) {
1207
1207
if (ImGui::BeginMenu (_ (" File" ))) {
1208
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
+ }
1209
1216
if (ImGui::MenuItem (_ (" Close Disk Image" ))) {
1210
1217
PCSX::g_emulator->m_cdrom ->setIso (new CDRIso (new FailedFile));
1211
1218
PCSX::g_emulator->m_cdrom ->check ();
You can’t perform that action at this time.
0 commit comments