mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Warning fixes, make the back button exit the emu on the main screen on Android.
This commit is contained in:
1 parent
9e5362ded1
commit
273fb7c941
6 files changed
+34
-25
No files matched your search
+9
-1
@@ -598,7 +598,15 @@ void NativeDeviceLost() {
|
||||
}
|
||||
|
||||
bool NativeIsAtTopLevel() {
|
||||
return false;
|
||||
Screen *currentScreen = screenManager->topScreen();
|
||||
if (currentScreen) {
|
||||
bool top = currentScreen->isTopLevel();
|
||||
ILOG("Screen toplevel: %i", (int)top);
|
||||
return currentScreen->isTopLevel();
|
||||
} else {
|
||||
ELOG("No current screen");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
void NativeTouch(const TouchInput &touch) {
|
||||
|
||||
Reference in new issue
Block a user