BACKENDS: Add a function to return if the overlay is visible

This commit is contained in:
Cameron Cawley 2020-09-14 13:11:57 +01:00 committed by Eugene Sandulenko
parent 3f38c0f8d3
commit 31be074893
16 changed files with 32 additions and 2 deletions

View file

@ -246,6 +246,11 @@ void OSystem_PSP::hideOverlay() {
_cursor.useGlobalScaler(true); // mouse needs to be scaled with screen
}
bool OSystem_PSP::isOverlayVisible() const {
DEBUG_ENTER_FUNC();
return _overlay.isVisible();
}
void OSystem_PSP::clearOverlay() {
DEBUG_ENTER_FUNC();
_displayManager.waitUntilRenderFinished();