aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2006-04-02 09:26:51 +0000
committerMax Horn2006-04-02 09:26:51 +0000
commit2fd027846e8bc7bba4029d9c8d774a4cbab6218f (patch)
tree4e66d8676bbc0b737fef17243107f648d90132c7
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
-rw-r--r--backends/sdl/sdl.cpp5
-rw-r--r--base/main.cpp5
2 files changed, 5 insertions, 5 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")
diff --git a/base/main.cpp b/base/main.cpp
index 9fc06c75d3..38fca03864 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -143,11 +143,6 @@ const char *gScummVMFeatures = ""
#endif
;
-#if defined(__amigaos4__)
-// Set the stack cookie, 640 KB should be enough for everyone
-const char* stackCookie = "$STACK: 655360\0";
-#endif
-
/**
* The debug level. Initially set to -1, indicating that no debug output
* should be shown. Positive values usually imply an increasing number of