mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2025-02-18 05:16:19 +01:00
Quit
This commit is contained in:
parent
c10f7972fb
commit
8577acdc0c
@ -311,6 +311,8 @@ void Gui::pushEvent(SDL_Event *ev)
|
|||||||
|
|
||||||
if (!this->is_active || !cur_view)
|
if (!this->is_active || !cur_view)
|
||||||
return;
|
return;
|
||||||
|
if (ev->type == SDL_QUIT)
|
||||||
|
exit(0);
|
||||||
if (this->dlg)
|
if (this->dlg)
|
||||||
this->dlg->pushEvent(ev);
|
this->dlg->pushEvent(ev);
|
||||||
else if (this->kbd)
|
else if (this->kbd)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user