diff options
author | Tony Puccinelli | 2010-07-03 04:01:39 +0000 |
---|---|---|
committer | Tony Puccinelli | 2010-07-03 04:01:39 +0000 |
commit | ffdfd3217fee63346589298844651a67a9230781 (patch) | |
tree | 68a78d0b61450a1532fa284ddf7699941a672867 /backends/platform | |
parent | 0b0bc1050bb0e70eca2f358511c021a6f7c59471 (diff) | |
download | scummvm-rg350-ffdfd3217fee63346589298844651a67a9230781.tar.gz scummvm-rg350-ffdfd3217fee63346589298844651a67a9230781.tar.bz2 scummvm-rg350-ffdfd3217fee63346589298844651a67a9230781.zip |
changed main to use DS plugin provider if dynamic modules are turned on
svn-id: r50615
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/ds/arm9/source/dsmain.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/backends/platform/ds/arm9/source/dsmain.cpp b/backends/platform/ds/arm9/source/dsmain.cpp index 7eb02f9070..8b1ed32c67 100644 --- a/backends/platform/ds/arm9/source/dsmain.cpp +++ b/backends/platform/ds/arm9/source/dsmain.cpp @@ -702,7 +702,7 @@ void displayMode8Bit() { - consoleInit(NULL, 0, BgType_Text4bpp, BgSize_T_256x256, 2, 0, true); + consoleInit(NULL, 0, BgType_Text4bpp, BgSize_T_256x256, 2, 0, true, true); // Set this again because consoleinit resets it videoSetMode(MODE_5_2D | (consoleEnable? DISPLAY_BG0_ACTIVE: 0) | DISPLAY_BG3_ACTIVE | DISPLAY_SPR_ACTIVE | DISPLAY_SPR_1D | DISPLAY_SPR_1D_BMP); @@ -940,7 +940,7 @@ void displayMode16Bit() { SUB_BG0_CR = BG_MAP_BASE(4) | BG_TILE_BASE(0); SUB_BG0_Y0 = 0; - consoleInit(NULL, 0, BgType_Text4bpp, BgSize_T_256x256, 4, 0, false); + consoleInit(NULL, 0, BgType_Text4bpp, BgSize_T_256x256, 4, 0, false, true); // consoleInitDefault((u16*)SCREEN_BASE_BLOCK_SUB(4), (u16*)CHAR_BASE_BLOCK_SUB(0), 16); for (int r = 0; r < 32 * 32; r++) { @@ -3346,6 +3346,9 @@ int main(void) { const char *argv[] = {"/scummvmds", "--config=scummvmk.ini"}; #endif +#ifdef DYNAMIC_MODULES + PluginManager::instance().addPluginProvider(new DSPluginProvider()); +#endif while (1) { scummvm_main(ARRAYSIZE(argv), (char **) &argv); |