Fully and officially renamed our main function to scummvm_main, thus making
various backend specific hacks unnecessary. As a consequence, it is now the responsibility of the backend to define main. Hence I adapted the SDL backend accordingly. svn-id: r21542
This commit is contained in:
parent
a2c4795f32
commit
587431f8e8
15 changed files with 57 additions and 46 deletions
|
@ -26,6 +26,8 @@
|
|||
|
||||
#include "common/config-manager.h"
|
||||
|
||||
#include "base/main.h"
|
||||
|
||||
#include "backends/gp32/gp32std.h"
|
||||
#include "backends/gp32/gp32std_grap.h"
|
||||
|
||||
|
@ -34,8 +36,6 @@
|
|||
|
||||
GlobalVars g_vars;
|
||||
|
||||
extern "C" int scummvm_main(int argc, char *argv[]);
|
||||
|
||||
void init() {
|
||||
gp_setCpuSpeed(40); // Default CPU Speed
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue