Allow return status to be specified using quitWithStatus.

This commit is contained in:
Daniel Buckmaster 2014-09-21 18:27:31 +10:00
parent d08e594316
commit 9f47032522
13 changed files with 52 additions and 18 deletions

View file

@ -321,7 +321,7 @@ S32 TorqueMain(S32 argc, const char **argv)
Platform::restartInstance();
// Return.
return 0;
return StandardMainLoop::getReturnStatus();
}
#endif //TORQUE_SHARED