diff options
author | lolbot-iichan | 2019-06-29 14:37:59 +0300 |
---|---|---|
committer | Filippos Karapetis | 2019-07-16 20:24:42 +0300 |
commit | a96d127b1f07db20f66e74ae3011cc643ba7a9bd (patch) | |
tree | 6714adef468723f4f80bc3c20b53f18cd33ac0e4 /engines/wintermute/base/scriptables | |
parent | 4bb82a8dae26e8bd56a8bc943c97959d37fb36ea (diff) | |
download | scummvm-rg350-a96d127b1f07db20f66e74ae3011cc643ba7a9bd.tar.gz scummvm-rg350-a96d127b1f07db20f66e74ae3011cc643ba7a9bd.tar.bz2 scummvm-rg350-a96d127b1f07db20f66e74ae3011cc643ba7a9bd.zip |
WINTERMUTE: Fix assertion in Hamlet game
Assertion was caused by providing "saves/" prefixed string to
WindowsFilesystemNode::getChild() function, that asserts on '/'
characters.
Wintermute game code:
if(!(Game.FileExists((Game.SaveDirectory + "\gamelet.save")))) {
Directory.Create(Game.SaveDirectory);
}
...
Assertion stack:
from C:\WINDOWS\System32\KernelBase.dll
from C:\WINDOWS\System32\msvcrt.dll
(this=0xcfdf710,
n=...) at backends/fs/windows/windows-fs.cpp:158
n=...)
at common/fs.cpp:68
(filename=...)
at engines/wintermute/base/file/base_disk_file.cpp:76
at engines/wintermute/base/file/base_disk_file.cpp:105
this=0x50795e0, filename=...)
at engines/wintermute/base/base_file_manager.cpp:326
(this=0xcea72f0,
script=0xcf657d0, stack=0xcf6a2e0, thisStack=0xcf69ee0,
name=0xcfd8870 "FileExists") at
engines/wintermute/base/base_game.cpp:1523
...
Diffstat (limited to 'engines/wintermute/base/scriptables')
0 files changed, 0 insertions, 0 deletions