[Scummvm-cvs-logs] scummvm master -> f5928496538100c793600575938f07d533d957b5

digitall digitall at scummvm.org
Thu Dec 29 09:10:59 CET 2011


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

Summary:
f592849653 DREAMWEB: Correct monitor header message alignment in floppy versions.


Commit: f5928496538100c793600575938f07d533d957b5
    https://github.com/scummvm/scummvm/commit/f5928496538100c793600575938f07d533d957b5
Author: D G Turner (digitall at scummvm.org)
Date: 2011-12-29T00:09:29-08:00

Commit Message:
DREAMWEB: Correct monitor header message alignment in floppy versions.

Changed paths:
    engines/dreamweb/monitor.cpp



diff --git a/engines/dreamweb/monitor.cpp b/engines/dreamweb/monitor.cpp
index 256478d..ab6dd9e 100644
--- a/engines/dreamweb/monitor.cpp
+++ b/engines/dreamweb/monitor.cpp
@@ -292,7 +292,12 @@ void DreamWebEngine::scrollMonitor() {
 }
 
 void DreamWebEngine::showCurrentFile() {
-	uint16 x = 178; // TODO: Looks like this hardcoded constant in the asm doesn't match the frame
+	uint16 x;
+	// Monitor Frame position differs between Floppy and CD version
+	if (isCD())
+		x = 178;
+	else
+		x = 199;
 	const char *currentFile = _currentFile + 1;
 	while (*currentFile) {
 		char c = *currentFile++;






More information about the Scummvm-git-logs mailing list