[Scummvm-git-logs] scummvm master -> 32199344fa132e737a3fb3101be00a1d4de21dd7

ccawley2011 noreply at scummvm.org
Sat Mar 28 16:27:41 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
32199344fa 3DS: Fix unlocking the screen in supported true colour modes


Commit: 32199344fa132e737a3fb3101be00a1d4de21dd7
    https://github.com/scummvm/scummvm/commit/32199344fa132e737a3fb3101be00a1d4de21dd7
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2026-03-28T16:27:26Z

Commit Message:
3DS: Fix unlocking the screen in supported true colour modes

Changed paths:
    backends/platform/3ds/osystem-graphics.cpp


diff --git a/backends/platform/3ds/osystem-graphics.cpp b/backends/platform/3ds/osystem-graphics.cpp
index 53db5c88152..bfc9e62d097 100644
--- a/backends/platform/3ds/osystem-graphics.cpp
+++ b/backends/platform/3ds/osystem-graphics.cpp
@@ -440,8 +440,12 @@ Graphics::Surface *OSystem_3DS::lockScreen() {
 	else
 		return &_gameScreen;
 }
+
 void OSystem_3DS::unlockScreen() {
-	_gameTextureDirty = true;
+	if (_pfGame == _gameTopTexture.format)
+		_gameTopTexture.markDirty();
+	else
+		_gameTextureDirty = true;
 }
 
 void OSystem_3DS::updateScreen() {




More information about the Scummvm-git-logs mailing list