Added launchEnter and launchExit commands around the launching of a game. The functions were already written; just not called.

This commit is contained in:
Pieter Hulshoff 2016-07-17 09:57:26 +02:00
parent 3e3c61cfc6
commit 1689d570c2

View File

@ -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;