From 70b7ebb33901d3dff5426c1c2fa12bc5087b721a Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 22 Aug 2009 12:35:49 +0000 Subject: Patch #2826508: "Motorola A1200/E6/A1600 (motoezx) patch" svn-id: r43636 --- backends/platform/linuxmoto/main.cpp | 45 ++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 backends/platform/linuxmoto/main.cpp (limited to 'backends/platform/linuxmoto/main.cpp') diff --git a/backends/platform/linuxmoto/main.cpp b/backends/platform/linuxmoto/main.cpp new file mode 100644 index 0000000000..1e37fe617a --- /dev/null +++ b/backends/platform/linuxmoto/main.cpp @@ -0,0 +1,45 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * $URL$ + * $Id$ + * + */ + +#include +#include + +#include +#include + +#include "backends/platform/linuxmoto/linuxmoto-sdl.h" +#include "base/main.h" +#include "base/internal_version.h" + +int main(int argc, char *argv[]) { + + 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! + + return res; +} -- cgit v1.2.3 From a041ba4f48ae6a58cc795467c37fabb11bfd4163 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Sun, 23 Aug 2009 22:51:57 +0000 Subject: Whitespace fix for buildbot svn-id: r43679 --- backends/platform/linuxmoto/main.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'backends/platform/linuxmoto/main.cpp') diff --git a/backends/platform/linuxmoto/main.cpp b/backends/platform/linuxmoto/main.cpp index 1e37fe617a..7f015faff4 100644 --- a/backends/platform/linuxmoto/main.cpp +++ b/backends/platform/linuxmoto/main.cpp @@ -34,7 +34,6 @@ #include "base/internal_version.h" int main(int argc, char *argv[]) { - g_system = new OSystem_LINUXMOTO(); assert(g_system); // Invoke the actual ScummVM main entry point: -- cgit v1.2.3