mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-05-06 04:43:33 +02:00
Added launchEnter and launchExit commands around the launching of a game. The functions were already written; just not called.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user