aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Augereau2006-11-25 22:03:34 +0000
committerBertrand Augereau2006-11-25 22:03:34 +0000
commit360da37d2e888a7672ace778e9d7c740d154d4ab (patch)
tree7547bfb9001792489e234283061f466492516a7f
parent6c3672508be9de1b0c04999790fba7e88d720ea1 (diff)
downloadscummvm-rg350-360da37d2e888a7672ace778e9d7c740d154d4ab.tar.gz
scummvm-rg350-360da37d2e888a7672ace778e9d7c740d154d4ab.tar.bz2
scummvm-rg350-360da37d2e888a7672ace778e9d7c740d154d4ab.zip
DS : The hi-quality scaler works on the secondary screen
svn-id: r24790
-rw-r--r--backends/platform/ds/arm9/source/dsmain.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/backends/platform/ds/arm9/source/dsmain.cpp b/backends/platform/ds/arm9/source/dsmain.cpp
index 01c24b0ab8..d2e8a162d0 100644
--- a/backends/platform/ds/arm9/source/dsmain.cpp
+++ b/backends/platform/ds/arm9/source/dsmain.cpp
@@ -470,8 +470,6 @@ void displayMode8Bit() {
BG3_XDY = 0;
BG3_YDX = 0;
BG3_YDY = (int) ((200.0f / 192.0f) * 256);
-
- SUB_BG3_CR = BG_BMP16_256x256;
}
else
{
@@ -492,11 +490,10 @@ void displayMode8Bit() {
BG3_XDY = 0;
BG3_YDX = 0;
BG3_YDY = (int) ((200.0f / 192.0f) * 256);
-
- SUB_BG3_CR = BG_BMP8_512x256;
}
-
+ SUB_BG3_CR = BG_BMP8_512x256;
+
SUB_BG3_XDX = (int) (subScreenWidth / 256.0f * 256);
SUB_BG3_XDY = 0;
SUB_BG3_YDX = 0;