diff options
author | Eugene Sandulenko | 2019-08-27 00:51:43 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:35 +0200 |
commit | 373002d3039192b56b46b1ad09035f3cbfa13202 (patch) | |
tree | d78a62254ec1b2cdf178f2a18231a0dbf30e4ce2 | |
parent | abbe16bf011739fae32d0fd9f23d551d20f472c7 (diff) | |
download | scummvm-rg350-373002d3039192b56b46b1ad09035f3cbfa13202.tar.gz scummvm-rg350-373002d3039192b56b46b1ad09035f3cbfa13202.tar.bz2 scummvm-rg350-373002d3039192b56b46b1ad09035f3cbfa13202.zip |
HDB: Added debug output for map loading
-rw-r--r-- | engines/hdb/hdb.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/saveload.cpp | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index 557c8bac75..b8aa0fdf4f 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -217,6 +217,8 @@ bool HDBGame::restartMap() { if (!_currentMapname[0]) return false; + debug(0, "Starting map %s", _currentMapname); + _gfx->emptyGfxCaches(); _lua->callFunction("level_shutdown", 0); diff --git a/engines/hdb/saveload.cpp b/engines/hdb/saveload.cpp index 618d9a9be4..acf1092577 100644 --- a/engines/hdb/saveload.cpp +++ b/engines/hdb/saveload.cpp @@ -217,6 +217,9 @@ void HDBGame::save(Common::OutSaveFile *out) { void HDBGame::loadSaveFile(Common::InSaveFile *in) { in->read(_currentMapname, 64); + + debug(0, "Loading map %s", _currentMapname); + in->read(_lastMapname, 64); in->read(_currentLuaName, 64); _actionMode = in->readSint32LE(); |