diff options
| author | Fabio Battaglia | 2010-10-23 09:30:26 +0000 | 
|---|---|---|
| committer | Fabio Battaglia | 2010-10-23 09:30:26 +0000 | 
| commit | 74a53df11b51fa4956745c086b2e6351b8383568 (patch) | |
| tree | 2ec2ce66310986e6bebdc21582e7e9c5ad3b014c /backends/platform/dingux/main.cpp | |
| parent | b713beed189b439853be50fa330d06b3275f9713 (diff) | |
| download | scummvm-rg350-74a53df11b51fa4956745c086b2e6351b8383568.tar.gz scummvm-rg350-74a53df11b51fa4956745c086b2e6351b8383568.tar.bz2 scummvm-rg350-74a53df11b51fa4956745c086b2e6351b8383568.zip | |
DINGUX: fix compilation for the opengl branch
Moved events related code to backends/events/dinguxsdl/*
and move graphics related code to backends/graphics/dinguxsdl/*
Subclass OSystem_POSIX instead of OSystem_SDL
svn-id: r53730
Diffstat (limited to 'backends/platform/dingux/main.cpp')
| -rw-r--r-- | backends/platform/dingux/main.cpp | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/backends/platform/dingux/main.cpp b/backends/platform/dingux/main.cpp index 7b02151c1a..587c65334e 100644 --- a/backends/platform/dingux/main.cpp +++ b/backends/platform/dingux/main.cpp @@ -24,8 +24,7 @@   */  #include "backends/platform/dingux/dingux.h" -#include "backends/plugins/sdl/sdl-provider.h" -//#include "backends/plugins/posix/posix-provider.h" +#include "backends/plugins/posix/posix-provider.h"  #include "base/main.h"  #if defined(DINGUX) @@ -37,16 +36,17 @@ int main(int argc, char* argv[]) {  	g_system = new OSystem_SDL_Dingux();  	assert(g_system); +	((OSystem_SDL_Dingux *)g_system)->init(); +  #ifdef DYNAMIC_MODULES -	PluginManager::instance().addPluginProvider(new SDLPluginProvider()); -//	PluginManager::instance().addPluginProvider(new POSIXPluginProvider()); +	PluginManager::instance().addPluginProvider(new POSIXPluginProvider());  #endif  	// Invoke the actual ScummVM main entry point:  	int res = scummvm_main(argc, argv); -	((OSystem_SDL *)g_system)->deinit(); -	return res; +	((OSystem_SDL_Dingux *)g_system)->deinit(); +	return res;  }  #endif | 
