[Scummvm-cvs-logs] scummvm master -> 9fdb38d39510d81de43c887e95bae5b6e6a91156

bluegr md5 at scummvm.org
Sat Dec 17 15:33:11 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:
9fdb38d395 DREAMWEB: Fix another regression in the ASM-style version of getOpenedSize()


Commit: 9fdb38d39510d81de43c887e95bae5b6e6a91156
    https://github.com/scummvm/scummvm/commit/9fdb38d39510d81de43c887e95bae5b6e6a91156
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2011-12-17T06:32:12-08:00

Commit Message:
DREAMWEB: Fix another regression in the ASM-style version of getOpenedSize()

Changed paths:
    engines/dreamweb/object.cpp



diff --git a/engines/dreamweb/object.cpp b/engines/dreamweb/object.cpp
index dbae7e2..29e6d52 100644
--- a/engines/dreamweb/object.cpp
+++ b/engines/dreamweb/object.cpp
@@ -294,16 +294,17 @@ void DreamGenContext::getOpenedSize() {
 	switch (data.byte(kOpenedtype)) {
 	case 4:
 		getExAd();
+		ax = es.word(bx+7);
 		break;
 	case 2:
 		getFreeAd();
+		ax = es.word(bx+7);
 		break;
 	default:
 		getSetAd();
+		ax = es.word(bx+3);
 		break;
 	}
-
-	ax = es.word(bx+7);
 }
 
 byte DreamGenContext::getOpenedSizeCPP() {






More information about the Scummvm-git-logs mailing list