Fixing the X11 & NULL backends by adding main()
svn-id: r21553
This commit is contained in:
parent
a4d075dad3
commit
f8bb142f0b
3 changed files with 10 additions and 1 deletions
|
@ -106,6 +106,11 @@ static const OSystem::GraphicsMode s_supportedGraphicsModes[] = {
|
||||||
{0, 0, 0}
|
{0, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
int main(int argc, char *argv[]) {
|
||||||
|
// Invoke the actual ScummVM main entry point:
|
||||||
|
return scummvm_main(argc, argv);
|
||||||
|
}
|
||||||
|
|
||||||
OSystem_NULL::OSystem_NULL()
|
OSystem_NULL::OSystem_NULL()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,7 +48,6 @@ const char* stackCookie = "$STACK: 655360\0";
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
|
|
||||||
#if (defined(WIN32) && defined(NO_CONSOLE)) || defined(__SYMBIAN32__)
|
#if (defined(WIN32) && defined(NO_CONSOLE)) || defined(__SYMBIAN32__)
|
||||||
//
|
//
|
||||||
// Set up redirects for stdout/stderr under Windows and Symbian.
|
// Set up redirects for stdout/stderr under Windows and Symbian.
|
||||||
|
|
|
@ -58,6 +58,11 @@
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <backends/x11/x11.h>
|
#include <backends/x11/x11.h>
|
||||||
|
|
||||||
|
int main(int argc, char *argv[]) {
|
||||||
|
// Invoke the actual ScummVM main entry point:
|
||||||
|
return scummvm_main(argc, argv);
|
||||||
|
}
|
||||||
|
|
||||||
OSystem *OSystem_X11_create() {
|
OSystem *OSystem_X11_create() {
|
||||||
return OSystem_X11::create(0, 0);
|
return OSystem_X11::create(0, 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue