Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/mkdasher/mupen64-rr-lua- int…
Browse files Browse the repository at this point in the history
…o dev
  • Loading branch information
Aurumaker72 committed Jun 2, 2023
2 parents 9468af0 + 84aedf5 commit 7adfa12
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions main/win/main_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1484,11 +1484,15 @@ DWORD WINAPI closeRom(LPVOID lpParam) //lpParam - treated as bool, show romlist?
clear_sram_on_restart_mode = FALSE;
}

really_restart_mode = FALSE;
extern int m_task;
if (m_task!=0)
just_restarted_flag = TRUE;
StartRom(LastSelectedRom);
really_restart_mode = FALSE;
extern int m_task;
if (m_task!=0)
just_restarted_flag = TRUE;
if (StartRom(LastSelectedRom)) { // If rom loading fails
closeRom(lpParam);
ShowRomBrowser(TRUE, TRUE);
SetStatusTranslatedString(hStatus, 0, "Failed to open rom");
}
}
}

Expand Down

0 comments on commit 7adfa12

Please sign in to comment.