From 650da9eb5bfa8960a6eea1baa0158465311b0960 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Tue, 15 Oct 2019 22:18:05 +0200 Subject: 3DS: Don't immediately update the screen when enabling the overlay Fixes the overlay dirty buffer being visible for a frame when opening the GUI while in-game. --- backends/platform/3ds/osystem-graphics.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'backends/platform/3ds') diff --git a/backends/platform/3ds/osystem-graphics.cpp b/backends/platform/3ds/osystem-graphics.cpp index 8e7ae89486..2bad1f5221 100644 --- a/backends/platform/3ds/osystem-graphics.cpp +++ b/backends/platform/3ds/osystem-graphics.cpp @@ -397,13 +397,11 @@ void OSystem_3DS::updateFocus() { void OSystem_3DS::showOverlay() { _overlayVisible = true; updateSize(); - updateScreen(); } void OSystem_3DS::hideOverlay() { _overlayVisible = false; updateSize(); - updateScreen(); } Graphics::PixelFormat OSystem_3DS::getOverlayFormat() const { @@ -446,7 +444,7 @@ bool OSystem_3DS::showMouse(bool visible) { void OSystem_3DS::warpMouse(int x, int y) { _cursorX = x; _cursorY = y; - warning("x:%d y:%d", x, y); + // TODO: adjust for _cursorScalable ? int offsetx = 0; int offsety = 0; -- cgit v1.2.3