diff options
author | Chris Apers | 2003-11-28 09:35:09 +0000 |
---|---|---|
committer | Chris Apers | 2003-11-28 09:35:09 +0000 |
commit | abeded8ab8d6001f829f686345e990e411f0d863 (patch) | |
tree | 9f26bb9846412516a72b61b5ee4c4715c41f5adb /backends/PalmOS/Src | |
parent | 1b2bfea7101eb4eac0b5bc4e910d12d0e2396982 (diff) | |
download | scummvm-rg350-abeded8ab8d6001f829f686345e990e411f0d863.tar.gz scummvm-rg350-abeded8ab8d6001f829f686345e990e411f0d863.tar.bz2 scummvm-rg350-abeded8ab8d6001f829f686345e990e411f0d863.zip |
Fixed little display bug, better DIA support
svn-id: r11396
Diffstat (limited to 'backends/PalmOS/Src')
-rw-r--r-- | backends/PalmOS/Src/skin.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/backends/PalmOS/Src/skin.cpp b/backends/PalmOS/Src/skin.cpp index 092c32067a..d23d456823 100644 --- a/backends/PalmOS/Src/skin.cpp +++ b/backends/PalmOS/Src/skin.cpp @@ -94,7 +94,7 @@ static void SknCopyBits(DmOpenRef skinDBP, DmResID bitmapID, const RectangleType } if (ch) { - Coord picth = gVars->screenFullWidth; + Coord picth = gVars->screenPitch; dst = (UInt8 *)BmpGetBits(WinGetBitmap(WinGetDisplayWindow())); dst+= destX + destY * picth; @@ -120,8 +120,10 @@ void SknApplySkin() { RectangleType r; FormPtr frmP = FrmGetActiveForm(); - WinScreenLock(winLockErase); + WinScreenLock(winLockDontCare); //SknSetPalette(); + RctSetRectangle(&r,0,0,160,160); + WinEraseRectangle(&r,0); FrmDrawForm(frmP); if (gPrefs->card.volRefNum != sysInvalidRefNum) @@ -565,4 +567,4 @@ Boolean SknProcessArrowAction(UInt16 button) { } return handled; -}
\ No newline at end of file +} |