diff options
author | Einar Johan Trøan Sømåen | 2012-05-09 14:11:00 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-02 12:42:08 +0200 |
commit | 466596eae4e6e241322ad690eed2d3acc4aef084 (patch) | |
tree | f6c98ec22f14c40e062e134f9e54cf0d93b4052a /engines | |
parent | 59dffd5e86490d3a513445fa21ff142aa5ff4a02 (diff) | |
download | scummvm-rg350-466596eae4e6e241322ad690eed2d3acc4aef084.tar.gz scummvm-rg350-466596eae4e6e241322ad690eed2d3acc4aef084.tar.bz2 scummvm-rg350-466596eae4e6e241322ad690eed2d3acc4aef084.zip |
WINTERMUTE: Make BSurfaceSDL init its filename again.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wintermute/BSurfaceSDL.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/BSurfaceSDL.cpp b/engines/wintermute/BSurfaceSDL.cpp index e52bfb9561..b8d256aad1 100644 --- a/engines/wintermute/BSurfaceSDL.cpp +++ b/engines/wintermute/BSurfaceSDL.cpp @@ -150,7 +150,7 @@ HRESULT CBSurfaceSDL::Create(char *Filename, bool default_ck, byte ck_red, byte _cKRed = ck_red;
_cKGreen = ck_green;
_cKBlue = ck_blue;
-
+#endif
if (!_filename || scumm_stricmp(_filename, Filename) != 0) {
SetFilename(Filename);
@@ -163,7 +163,7 @@ HRESULT CBSurfaceSDL::Create(char *Filename, bool default_ck, byte ck_red, byte if (_keepLoaded) _lifeTime = -1;
_valid = true;
-
+#if 0
Game->AddMem(_width * _height * 4);
#endif
|