diff options
author | Neil Millstone | 2010-05-29 20:30:54 +0000 |
---|---|---|
committer | Neil Millstone | 2010-05-29 20:30:54 +0000 |
commit | 989c1fddddbe63075a9d4b9860476a080711164c (patch) | |
tree | 39e82344518eaa472e836ff99c12956b801da693 /backends/platform/ds/arm9/source | |
parent | d3bcb10861b7716ed59ecc53efcaabad1f14e246 (diff) | |
download | scummvm-rg350-989c1fddddbe63075a9d4b9860476a080711164c.tar.gz scummvm-rg350-989c1fddddbe63075a9d4b9860476a080711164c.tar.bz2 scummvm-rg350-989c1fddddbe63075a9d4b9860476a080711164c.zip |
DS: Various fixes to allow the DS port to compile on DevkitARM r30 and libnds 1.4.3.
svn-id: r49313
Diffstat (limited to 'backends/platform/ds/arm9/source')
-rw-r--r-- | backends/platform/ds/arm9/source/dsmain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/ds/arm9/source/dsmain.cpp b/backends/platform/ds/arm9/source/dsmain.cpp index 1e9986e4e9..4828ae2192 100644 --- a/backends/platform/ds/arm9/source/dsmain.cpp +++ b/backends/platform/ds/arm9/source/dsmain.cpp @@ -701,7 +701,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); @@ -939,7 +939,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++) { |