From f53bbc8cde1f782142c759a336f6357ee6912302 Mon Sep 17 00:00:00 2001 From: Matthew Budd Date: Tue, 23 Jun 2020 23:04:10 -0400 Subject: [PATCH] Added logic to close game and shutdown FCEU system on window close. --- src/drivers/Qt/GameApp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drivers/Qt/GameApp.cpp b/src/drivers/Qt/GameApp.cpp index 8602a26d..229c9c11 100644 --- a/src/drivers/Qt/GameApp.cpp +++ b/src/drivers/Qt/GameApp.cpp @@ -32,6 +32,8 @@ gameWin_t::gameWin_t(QWidget *parent) gameWin_t::~gameWin_t(void) { + fceuWrapperClose(); + delete viewport; }