Modularized Linuxmoto port.
svn-id: r50474
This commit is contained in:
parent
494755cc36
commit
fd77e4b09c
13 changed files with 238 additions and 121 deletions
|
@ -26,19 +26,20 @@
|
|||
#include "common/scummsys.h"
|
||||
#include "common/system.h"
|
||||
|
||||
#include <SDL/SDL.h>
|
||||
#include <SDL/SDL_syswm.h>
|
||||
|
||||
#include "backends/platform/linuxmoto/linuxmoto-sdl.h"
|
||||
#include "base/main.h"
|
||||
#include "base/internal_version.h"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
||||
// Create our OSystem instance
|
||||
g_system = new OSystem_LINUXMOTO();
|
||||
assert(g_system);
|
||||
|
||||
// Invoke the actual ScummVM main entry point:
|
||||
int res = scummvm_main(argc, argv);
|
||||
g_system->quit(); // TODO: Consider removing / replacing this!
|
||||
|
||||
// Free OSystem
|
||||
delete (OSystem_LINUXMOTO *)g_system;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue