mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 04:43:26 +00:00
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.
This commit is contained in:
parent
0bd6cd389d
commit
650da9eb5b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user