diff options
author | Colin Snover | 2016-12-18 17:42:07 -0600 |
---|---|---|
committer | Colin Snover | 2016-12-18 19:03:30 -0600 |
commit | df38f24c77bac3b1a8958a1bac301d82a43c35c4 (patch) | |
tree | c71af0eb7f7bc4e9926f816e353ded6608f5488c /engines/dialogs.cpp | |
parent | 0015f397428d2f59e393801aa03b9c9b2c84a443 (diff) | |
download | scummvm-rg350-df38f24c77bac3b1a8958a1bac301d82a43c35c4.tar.gz scummvm-rg350-df38f24c77bac3b1a8958a1bac301d82a43c35c4.tar.bz2 scummvm-rg350-df38f24c77bac3b1a8958a1bac301d82a43c35c4.zip |
SCI32: Fix handling of rewritable files opened with mode 1
In SSCI, all files opened through kFileIO are writable. Most of
the time this does not matter and the engine can get away with
using read-only streams, but when chase.dat is opened by Phant1
from the retry dialogue during the chase, it needs to be writable
because game code puts a '98' marker in the chase data. If this
write does not occur, the game gets stuck in a loop looking for
the marker.
Diffstat (limited to 'engines/dialogs.cpp')
0 files changed, 0 insertions, 0 deletions