mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-26 17:54:46 +01: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:
parent
3e3c61cfc6
commit
1689d570c2
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user