diff options
author | Max Horn | 2002-08-18 21:42:41 +0000 |
---|---|---|
committer | Max Horn | 2002-08-18 21:42:41 +0000 |
commit | 4f772996ef80ff1829faeb02d82bfbc42ed30f80 (patch) | |
tree | 7da3f68bf640a43bc54edc7db39344f57bd13a95 | |
parent | 8786311655e18c8bd16dbbbc3360de031fc62966 (diff) | |
download | scummvm-rg350-4f772996ef80ff1829faeb02d82bfbc42ed30f80.tar.gz scummvm-rg350-4f772996ef80ff1829faeb02d82bfbc42ed30f80.tar.bz2 scummvm-rg350-4f772996ef80ff1829faeb02d82bfbc42ed30f80.zip |
cleanup
svn-id: r4765
-rw-r--r-- | main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -104,14 +104,13 @@ int main(int argc, char *argv[]) #endif #if defined(UNIX) + /* On Unix, do a quick endian / alignement check before starting */ + do_memory_test(); + char scummhome[MAXPATHLEN]; if(getenv("HOME") != NULL) sprintf(scummhome,"%s/%s", getenv("HOME"), DEFAULT_CONFIG_FILE); else strcpy(scummhome,DEFAULT_CONFIG_FILE); - scummcfg = new Config(scummhome, "scummvm"); - - /* On Unix, do a quick endian / alignement check before starting */ - do_memory_test(); #else char scummhome[255]; #if defined (WIN32) && !defined(_WIN32_WCE) @@ -121,8 +120,9 @@ int main(int argc, char *argv[]) #else strcpy(scummhome,DEFAULT_CONFIG_FILE); #endif - scummcfg = new Config(scummhome, "scummvm"); #endif + + scummcfg = new Config(scummhome, "scummvm"); scummcfg->set("versioninfo", SCUMMVM_VERSION); if (detector.detectMain(argc, argv)) return (-1); |