aboutsummaryrefslogtreecommitdiff
path: root/engines/bbvs/saveload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bbvs/saveload.cpp')
-rw-r--r--engines/bbvs/saveload.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/bbvs/saveload.cpp b/engines/bbvs/saveload.cpp
index 3bb980053c..ff53cc457b 100644
--- a/engines/bbvs/saveload.cpp
+++ b/engines/bbvs/saveload.cpp
@@ -212,9 +212,8 @@ bool BbvsEngine::existsSavegame(int num) {
}
void BbvsEngine::allocSnapshot() {
- _snapshotSize = 23072;
- _snapshot = new byte[_snapshotSize];
- _snapshotStream = new Common::SeekableMemoryWriteStream(_snapshot, _snapshotSize);
+ _snapshot = new byte[kSnapshotSize];
+ _snapshotStream = new Common::SeekableMemoryWriteStream(_snapshot, kSnapshotSize);
}
void BbvsEngine::freeSnapshot() {