mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
Ignore the File Open command if a game is running
This commit is contained in:
parent
679d9351ea
commit
d080632527
1 changed files with 2 additions and 1 deletions
|
@ -686,7 +686,8 @@ void CFrame::BootGame(const std::string& filename)
|
||||||
// Open file to boot
|
// Open file to boot
|
||||||
void CFrame::OnOpen(wxCommandEvent& WXUNUSED (event))
|
void CFrame::OnOpen(wxCommandEvent& WXUNUSED (event))
|
||||||
{
|
{
|
||||||
DoOpen(true);
|
if (Core::GetState() == Core::CORE_UNINITIALIZED)
|
||||||
|
DoOpen(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CFrame::DoOpen(bool Boot)
|
void CFrame::DoOpen(bool Boot)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue