diff options
author | Paul Gilbert | 2019-05-18 15:54:26 -1000 |
---|---|---|
committer | Paul Gilbert | 2019-05-24 18:21:06 -0700 |
commit | bc87d740f55cfd0d283c6342abf641dfd0ff2e42 (patch) | |
tree | cd3734c76a03c841a4534cc0dc3d50507201f56c /engines/glk/tads/tads2/file_io.cpp | |
parent | 3d9e03af554814bee10f112c2efa0b7f0b722489 (diff) | |
download | scummvm-rg350-bc87d740f55cfd0d283c6342abf641dfd0ff2e42.tar.gz scummvm-rg350-bc87d740f55cfd0d283c6342abf641dfd0ff2e42.tar.bz2 scummvm-rg350-bc87d740f55cfd0d283c6342abf641dfd0ff2e42.zip |
GLK: TADS2: Yet more volumous code additions
Diffstat (limited to 'engines/glk/tads/tads2/file_io.cpp')
-rw-r--r-- | engines/glk/tads/tads2/file_io.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/glk/tads/tads2/file_io.cpp b/engines/glk/tads/tads2/file_io.cpp index bef91f10d2..10b8bca180 100644 --- a/engines/glk/tads/tads2/file_io.cpp +++ b/engines/glk/tads/tads2/file_io.cpp @@ -1769,6 +1769,12 @@ ret_error: return TRUE; } +void fioxor(uchar *p, uint siz, uint seed, uint inc) +{ + for (; siz; seed += inc, --siz) + *p++ ^= (uchar)seed; +} + } // End of namespace TADS2 } // End of namespace TADS } // End of namespace Glk |