mirror of https://github.com/snes9xgit/snes9x.git
Update EmuApplication.cpp: handle Quit binding
Added handling of binding for Quit.
This commit is contained in:
parent
b83f789343
commit
6794f51461
|
@ -386,6 +386,10 @@ void EmuApplication::handleBinding(std::string name, bool pressed)
|
||||||
{
|
{
|
||||||
window->openFile();
|
window->openFile();
|
||||||
}
|
}
|
||||||
|
else if (name == "Quit" && pressed)
|
||||||
|
{
|
||||||
|
window->close();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool EmuApplication::isBound(EmuBinding b)
|
bool EmuApplication::isBound(EmuBinding b)
|
||||||
|
|
Loading…
Reference in New Issue