aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz
diff options
context:
space:
mode:
authorPaul Gilbert2019-06-16 08:41:10 -0700
committerPaul Gilbert2019-06-16 14:59:26 -0700
commit3acba22cba5831b641b0bdaab26c337327d5911e (patch)
treebcc0d5148c33650ba09163a4c68a06f97fa5364c /engines/glk/frotz
parentdbc0a5ff091ae880bfa0098afbfc90796e178230 (diff)
downloadscummvm-rg350-3acba22cba5831b641b0bdaab26c337327d5911e.tar.gz
scummvm-rg350-3acba22cba5831b641b0bdaab26c337327d5911e.tar.bz2
scummvm-rg350-3acba22cba5831b641b0bdaab26c337327d5911e.zip
GLK: FROTZ: Move creation of Quetzal ANNO chunk into base Quetzal writer
Diffstat (limited to 'engines/glk/frotz')
-rw-r--r--engines/glk/frotz/quetzal.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/engines/glk/frotz/quetzal.cpp b/engines/glk/frotz/quetzal.cpp
index d12d41da88..64929c0f5b 100644
--- a/engines/glk/frotz/quetzal.cpp
+++ b/engines/glk/frotz/quetzal.cpp
@@ -65,13 +65,6 @@ bool Quetzal::save(Common::WriteStream *svf, Processor *proc, const Common::Stri
ws.writeByte(pc & 0xff);
}
- // Write 'ANNO' chunk
- {
- Common::WriteStream &ws = _writer.add(ID_ANNO);
- ws.write(desc.c_str(), desc.size());
- ws.writeByte(0);
- }
-
// Write `CMem' chunk.
{
Common::WriteStream &ws = _writer.add(ID_CMem);
@@ -166,7 +159,7 @@ bool Quetzal::save(Common::WriteStream *svf, Processor *proc, const Common::Stri
}
// Write the save data out
- _writer.save(svf, ID_IFZS);
+ _writer.save(svf, desc, ID_IFZS);
// After all that, still nothing went wrong!
return true;