diff options
| author | Max Horn | 2006-10-07 01:05:12 +0000 | 
|---|---|---|
| committer | Max Horn | 2006-10-07 01:05:12 +0000 | 
| commit | df5be194098e188f9cd3234af2bea34b67d19da2 (patch) | |
| tree | e9b797f971d73146f4f9e973168f4fe8bc79bb42 /backends/platform/dc | |
| parent | c8a21d19d164d40fc543d3a908789ee249a292fc (diff) | |
| download | scummvm-rg350-df5be194098e188f9cd3234af2bea34b67d19da2.tar.gz scummvm-rg350-df5be194098e188f9cd3234af2bea34b67d19da2.tar.bz2 scummvm-rg350-df5be194098e188f9cd3234af2bea34b67d19da2.zip  | |
Instantiate and hook up the plugin providers in the main() function of the corresponding backends (porters may have to update their ports if they were using the POSIX or Win32 module loading code implicitly); some cleanup
svn-id: r24153
Diffstat (limited to 'backends/platform/dc')
| -rw-r--r-- | backends/platform/dc/dcmain.cpp | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/dc/dcmain.cpp b/backends/platform/dc/dcmain.cpp index 4b03ec1551..4ba5338dfa 100644 --- a/backends/platform/dc/dcmain.cpp +++ b/backends/platform/dc/dcmain.cpp @@ -31,6 +31,8 @@  #include "DCLauncherDialog.h"  #include <common/config-manager.h> +#include "backends/plugins/dc/dc-provider.h" +  Icon icon;  const char *gGameName; @@ -205,6 +207,10 @@ int main()    g_system = new OSystem_Dreamcast();    assert(g_system); +#ifdef DYNAMIC_MODULES +	PluginManager::instance().addPluginProvider(new DCPluginProvider()); +#endif +    int res = scummvm_main(argc, argv);    exit(0);  | 
