Added logic to close game and shutdown FCEU system on window close.
This commit is contained in:
parent
095415790c
commit
f53bbc8cde
|
@ -32,6 +32,8 @@ gameWin_t::gameWin_t(QWidget *parent)
|
||||||
|
|
||||||
gameWin_t::~gameWin_t(void)
|
gameWin_t::~gameWin_t(void)
|
||||||
{
|
{
|
||||||
|
fceuWrapperClose();
|
||||||
|
|
||||||
delete viewport;
|
delete viewport;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue