mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
Fixed little display bug, better DIA support
svn-id: r11396
This commit is contained in:
parent
1b2bfea710
commit
abeded8ab8
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user