From 1689d570c274e407b6e218506db46c19a39f1005 Mon Sep 17 00:00:00 2001 From: Pieter Hulshoff Date: Sun, 17 Jul 2016 09:57:26 +0200 Subject: [PATCH] Added launchEnter and launchExit commands around the launching of a game. The functions were already written; just not called. --- RetroFE/Source/RetroFE.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RetroFE/Source/RetroFE.cpp b/RetroFE/Source/RetroFE.cpp index 1135c62..2ba0789 100644 --- a/RetroFE/Source/RetroFE.cpp +++ b/RetroFE/Source/RetroFE.cpp @@ -127,7 +127,6 @@ void RetroFE::launchEnter() } SDL_SetWindowGrab(SDL::getWindow(), SDL_FALSE); - } void RetroFE::launchExit() @@ -434,7 +433,9 @@ void RetroFE::run() case RETROFE_LAUNCH_REQUEST: nextPageItem_ = currentPage_->getSelectedItem(); + launchEnter(); l.run(nextPageItem_->collectionInfo->name, nextPageItem_); + launchExit(); state = RETROFE_IDLE; break;