[Scummvm-git-logs] scummvm master -> c81c8695a44ff6fa4447a3e97861dad17cdb8547

mikrosk noreply at scummvm.org
Wed Sep 16 11:36:38 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:
c81c8695a4 BACKENDS: ATARI: Fix SuperVidel's PMMU boost detection


Commit: c81c8695a44ff6fa4447a3e97861dad17cdb8547
    https://github.com/scummvm/scummvm/commit/c81c8695a44ff6fa4447a3e97861dad17cdb8547
Author: Miro Kropacek (miro.kropacek at gmail.com)
Date: 2026-09-16T21:36:31+10:00

Commit Message:
BACKENDS: ATARI: Fix SuperVidel's PMMU boost detection

register long ret __asm__ ("d0") = 0;

was actually considered dead code so set it explicitly to 0 in asm.

Changed paths:
    backends/graphics/atari/atari-surface.cpp


diff --git a/backends/graphics/atari/atari-surface.cpp b/backends/graphics/atari/atari-surface.cpp
index 8fb2a6427a6..d31963c977e 100644
--- a/backends/graphics/atari/atari-surface.cpp
+++ b/backends/graphics/atari/atari-surface.cpp
@@ -265,9 +265,11 @@ void AtariSurface::drawMaskedSprite(
 
 #ifdef USE_SUPERVIDEL
 static long hasSvRamBoosted() {
-	register long ret __asm__ ("d0") = 0;
+	register long ret __asm__ ("d0");
 
 	__asm__ volatile(
+		"\tmoveq	#0,%%d0\n"
+
 		"\tmovec	%%itt0,%%d1\n"
 		"\tcmp.l	#0xA007E060,%%d1\n"
 		"\tbne.s	1f\n"




More information about the Scummvm-git-logs mailing list