[Scummvm-cvs-logs] scummvm master -> 17225e42e391db0f2455af78c4b390b20556cab8

tramboi bertrand_augereau at yahoo.fr
Wed Nov 30 15:08:47 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:
17225e42e3 DREAMWEB: Use workspace() instead of kWorkspace


Commit: 17225e42e391db0f2455af78c4b390b20556cab8
    https://github.com/scummvm/scummvm/commit/17225e42e391db0f2455af78c4b390b20556cab8
Author: Bertrand Augereau (bertrand_augereau at yahoo.fr)
Date: 2011-11-30T06:05:04-08:00

Commit Message:
DREAMWEB: Use workspace() instead of kWorkspace

Changed paths:
    engines/dreamweb/stubs.cpp



diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index 134555d..67f7922 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -1930,7 +1930,7 @@ void DreamGenContext::zoomonoff() {
 }
 
 void DreamGenContext::sortoutmap() {
-	const uint8 *src = (const uint8 *)segRef(data.word(kWorkspace)).ptr(0, 0);
+	const uint8 *src = workspace();
 	uint8 *dst = (uint8 *)segRef(data.word(kMapdata)).ptr(0, 0);
 	for (uint16 y = 0; y < kMaplength; ++y) {
 		memcpy(dst, src, kMapwidth);






More information about the Scummvm-git-logs mailing list