scummvm/scummvm — pull request #124 by fingolfin (2011-12-02 20:38:58+00:00)
Title: Dreamweb cleanup

This cleans up a small part of the dreamweb code; the primary goal was to make it clear that both cs and data are constant and always point to the same data segment. This should enable further optimizations, e.g. one of cs or data could be removed and replaced by the other. Also, code could be converted to directly use the SegmentPtr _realData (to be renamed to something nicer).
Note that this can be done regardless of the changes in this pull request; these changes merely make it impossible to "accidentally" change cs or data.