mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 09:56:30 +00:00
CE backend specific tweaks
svn-id: r12461
This commit is contained in:
parent
14126cde00
commit
568913784a
@ -146,8 +146,6 @@ static void do_memory_test(void) {
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32_WCE
|
||||
|
||||
static int launcherDialog(GameDetector &detector, OSystem *system) {
|
||||
// FIXME - we need to call init_size() here so that we can display for example
|
||||
// the launcher dialog. But the Engine object will also call it again (possibly
|
||||
@ -233,7 +231,11 @@ static void runGame(GameDetector &detector, OSystem *system) {
|
||||
delete engine;
|
||||
};
|
||||
|
||||
#ifndef _WIN32_WCE
|
||||
int main(int argc, char *argv[]) {
|
||||
#else
|
||||
extern "C" int scummvm_main(GameDetector &detector, int argc, char *argv[]) {
|
||||
#endif
|
||||
OSystem::Property prop;
|
||||
|
||||
#if defined(UNIX)
|
||||
@ -283,7 +285,9 @@ int main(int argc, char *argv[]) {
|
||||
PluginManager::instance().loadPlugins();
|
||||
|
||||
// Parse the command line information
|
||||
#ifndef _WIN32_WCE
|
||||
GameDetector detector;
|
||||
#endif
|
||||
detector.parseCommandLine(argc, argv);
|
||||
|
||||
// Create the system object
|
||||
@ -322,8 +326,6 @@ int main(int argc, char *argv[]) {
|
||||
END_OF_MAIN();
|
||||
#endif
|
||||
|
||||
#endif // WIN32_WCE
|
||||
|
||||
/*
|
||||
#if !defined(__PALM_OS__) && !defined(_WIN32_WCE)
|
||||
void *operator new(size_t size) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user