aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl
diff options
context:
space:
mode:
authorMax Horn2006-04-02 09:26:51 +0000
committerMax Horn2006-04-02 09:26:51 +0000
commit2fd027846e8bc7bba4029d9c8d774a4cbab6218f (patch)
tree4e66d8676bbc0b737fef17243107f648d90132c7 /backends/sdl
parenta30d832ee08575bc02ab53c9daeccba830dec5a9 (diff)
downloadscummvm-rg350-2fd027846e8bc7bba4029d9c8d774a4cbab6218f.tar.gz
scummvm-rg350-2fd027846e8bc7bba4029d9c8d774a4cbab6218f.tar.bz2
scummvm-rg350-2fd027846e8bc7bba4029d9c8d774a4cbab6218f.zip
Moved AmigaOS 'magic cookie' to sdl.cpp, as it is port specific (porter says he might remove it completly in a future version)
svn-id: r21550
Diffstat (limited to 'backends/sdl')
-rw-r--r--backends/sdl/sdl.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp
index fe617991e7..92bdf58a48 100644
--- a/backends/sdl/sdl.cpp
+++ b/backends/sdl/sdl.cpp
@@ -32,6 +32,11 @@
#include "scummvm.xpm"
+#if defined(__amigaos4__)
+// Set the stack cookie, 640 KB should be enough for everyone
+const char* stackCookie = "$STACK: 655360\0";
+#endif
+
#if defined(WIN32) && defined(NO_CONSOLE)
#include <cstdio>
#define STDOUT_FILE TEXT("stdout.txt")