diff options
author | Marcus Comstedt | 2010-07-29 19:11:49 +0000 |
---|---|---|
committer | Marcus Comstedt | 2010-07-29 19:11:49 +0000 |
commit | 3e8a972602663810465414cd9aad6dddab6a2f14 (patch) | |
tree | 7ec5cd9c27860e42b655026514f2c3a9d156eec8 /common/macresman.cpp | |
parent | bc54fde8e1f58b910026644d606ba140aa3032c4 (diff) | |
download | scummvm-rg350-3e8a972602663810465414cd9aad6dddab6a2f14.tar.gz scummvm-rg350-3e8a972602663810465414cd9aad6dddab6a2f14.tar.bz2 scummvm-rg350-3e8a972602663810465414cd9aad6dddab6a2f14.zip |
DC: Specialize createConfig{Read,Write}Stream
Implement platform-specific variants of createConfigReadStream()
and createConfigWriteStream(), instead of inheriting the BaseBackend
definitions. Nonstandard behavious is as follows:
* createConfigWriteStream() always returns 0 (read-only filesystem)
* createConfigReadStream() returns an empty MemoryReadStream instead
of NULL if scummvm.ini does not exist. This is to make sure that
loadDefaultConfigFile() always clears out any old config data, as
I'll want to restart config parsing from scratch after a disc
swap.
svn-id: r51478
Diffstat (limited to 'common/macresman.cpp')
0 files changed, 0 insertions, 0 deletions