aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNeil Millstone2007-07-02 22:41:29 +0000
committerNeil Millstone2007-07-02 22:41:29 +0000
commitfddc9fb3f605863ef39e933996d06f7c14ba61be (patch)
tree00401d0182a5e913d95baaec8855ad6cc8598512 /engines
parent7782ac40b8454a1057df85bfe19b8edc4963a02f (diff)
downloadscummvm-rg350-fddc9fb3f605863ef39e933996d06f7c14ba61be.tar.gz
scummvm-rg350-fddc9fb3f605863ef39e933996d06f7c14ba61be.tar.bz2
scummvm-rg350-fddc9fb3f605863ef39e933996d06f7c14ba61be.zip
Memory block sizes for Simon 2 on DS port
svn-id: r27869
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/agos.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp
index 2965d7d735..ae7f692c3f 100644
--- a/engines/agos/agos.cpp
+++ b/engines/agos/agos.cpp
@@ -744,10 +744,12 @@ void AGOSEngine_Simon2::setupGame() {
_tableIndexBase = 1580 / 4;
_textIndexBase = 1500 / 4;
_numVideoOpcodes = 75;
-#ifndef PALMOS_68K
- _vgaMemSize = 2000000;
-#else
+#if defined(__DS__)
+ _vgaMemSize = 1300000;
+#elif defined(PALMOS_68K)
_vgaMemSize = gVars->memory[kMemSimon2Games];
+#else
+ _vgaMemSize = 2000000;
#endif
_itemMemSize = 20000;
_tableMemSize = 100000;