aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz/quetzal.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-02-10 11:19:18 -0800
committerPaul Gilbert2019-02-10 11:19:18 -0800
commit0a08d2e18b202cc0167c5f9746c9707d5efe86ef (patch)
treec472b59e69e6347481c9289ae64eee0b29fb4aff /engines/glk/frotz/quetzal.cpp
parentdbfc657a2c305946483e60d8bd68bb40575fb3a4 (diff)
downloadscummvm-rg350-0a08d2e18b202cc0167c5f9746c9707d5efe86ef.tar.gz
scummvm-rg350-0a08d2e18b202cc0167c5f9746c9707d5efe86ef.tar.bz2
scummvm-rg350-0a08d2e18b202cc0167c5f9746c9707d5efe86ef.zip
GLK: FROTZ: Fixes for saving and restoring in V6 games
Diffstat (limited to 'engines/glk/frotz/quetzal.cpp')
-rw-r--r--engines/glk/frotz/quetzal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/frotz/quetzal.cpp b/engines/glk/frotz/quetzal.cpp
index 53de2933e5..e025b2bcc7 100644
--- a/engines/glk/frotz/quetzal.cpp
+++ b/engines/glk/frotz/quetzal.cpp
@@ -53,7 +53,7 @@ bool Quetzal::read_long(Common::ReadStream *f, uint *result) {
bool Quetzal::save(Common::WriteStream *svf, Processor *proc, const Common::String &desc) {
Processor &p = *proc;
uint ifzslen = 0, cmemlen = 0, stkslen = 0, descLen = 0;
- uint pc;
+ offset_t pc;
zword i, j, n;
zword nvars, nargs, nstk;
zbyte var;
@@ -214,7 +214,7 @@ bool Quetzal::save(Common::WriteStream *svf, Processor *proc, const Common::Stri
int Quetzal::restore(Common::SeekableReadStream *svf, Processor *proc) {
Processor &p = *proc;
uint ifzslen, currlen, tmpl;
- uint pc;
+ offset_t pc;
zword i, tmpw;
int fatal = 0; // Set to -1 when errors must be fatal.
zbyte skip, progress = GOT_NONE;