diff options
author | whiterandrek | 2018-06-10 10:44:41 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2018-06-28 23:51:32 +0200 |
commit | ccd0ec7ffb87a17dda58a00a2f6440cca2641997 (patch) | |
tree | 8c4bffce75b89ae4a0ba9b57700a2995cfed2455 /engines/pink/objects/pages | |
parent | 078557a1ada1c6e1b0507b5101457a756a92c7d8 (diff) | |
download | scummvm-rg350-ccd0ec7ffb87a17dda58a00a2f6440cca2641997.tar.gz scummvm-rg350-ccd0ec7ffb87a17dda58a00a2f6440cca2641997.tar.bz2 scummvm-rg350-ccd0ec7ffb87a17dda58a00a2f6440cca2641997.zip |
PINK: inline one line archive functions; remove stream getters
Diffstat (limited to 'engines/pink/objects/pages')
-rw-r--r-- | engines/pink/objects/pages/game_page.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/pink/objects/pages/game_page.cpp b/engines/pink/objects/pages/game_page.cpp index 9ddcffd6d4..8ab1b0a077 100644 --- a/engines/pink/objects/pages/game_page.cpp +++ b/engines/pink/objects/pages/game_page.cpp @@ -172,13 +172,13 @@ void GamePage::saveState(Archive &archive) { if (this == _module->getPage()) { saveStateToMem(); archive.writeDWORD(_memFile->size()); - archive.getWriteStream()->write(_memFile->getData(), _memFile->size()); + archive.write(_memFile->getData(), _memFile->size()); delete _memFile; _memFile = nullptr; } else { if (_memFile != nullptr) { archive.writeDWORD(_memFile->size()); - archive.getWriteStream()->write(_memFile->getData(), _memFile->size()); + archive.write(_memFile->getData(), _memFile->size()); } else { archive.writeDWORD(0); } |