Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 330 vs 331 for /trunk/Source Code/main.cpp

Diff revisions: vs.
  @@ -10,10 +10,13 @@
10 10 output = freopen(OUTPUT_LOG_FILE, "w", stdout);
11 11 output = freopen(ERROR_LOG_FILE, "w", stderr);
12 12 //Initialize our application based on XML configuration. Error codes are always less than 0
13 - Divide::ErrorCode returnCode = Divide::Application::getOrCreateInstance().initialize("main.xml",argc,argv);
13 + Divide::ErrorCode returnCode = Divide::Application::getOrCreateInstance().initialize("main.xml",
14 + argc,
15 + argv);
14 16 if(returnCode != Divide::NO_ERR){
15 17 //If any error occurred, close the application as details should already be logged
16 - Divide::ERROR_FN("System failed to initialize properly. Error [ %s ] ", getErrorCodeName(returnCode));
18 + Divide::ERROR_FN("System failed to initialize properly. Error [ %s ] ",
19 + getErrorCodeName(returnCode));
17 20 return returnCode;
18 21 }
19 22 Divide::Application::getInstance().run();