N-Gage port: add changes from code reviews, overall cleanup (#5618)
* Add changes from code review by @ccawley2011, #5597, overall cleanup * Update N-Gage README, minor cleanup and rephrasing * Call SDL_SetMainReady() before calling SDL_main, return SDL_main instead of main
This commit is contained in:
1 parent
2c2cbbe664
commit
9b75fa0165
8 files changed
+51
-41
No files matched your search
@@ -1,6 +1,5 @@
|
||||
/*
|
||||
EPOC version (originally for SDL 1.2) by Hannu Viitala
|
||||
(hannu.j.viitala@mbnet.fi).
|
||||
SDL_ngage_main.c, originally for SDL 1.2 by Hannu Viitala
|
||||
*/
|
||||
#include "../../SDL_internal.h"
|
||||
|
||||
@@ -68,7 +67,8 @@ TInt E32Main()
|
||||
{
|
||||
oldHeap = User::SwitchHeap(newHeap);
|
||||
/* Call stdlib main */
|
||||
ret = main(argc, argv);
|
||||
SDL_SetMainReady();
|
||||
ret = SDL_main(argc, argv);
|
||||
}
|
||||
|
||||
cleanup:
|
||||
|
||||
Reference in new issue
Block a user