mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 15:48:48 +00:00
HOPKINS: Further fix for dirty area display in-game
This commit is contained in:
parent
2d83249ac2
commit
e50a7be7de
@ -438,7 +438,7 @@ void GraphicsManager::m_scroll16(const byte *surface, int xs, int ys, int width,
|
|||||||
}
|
}
|
||||||
|
|
||||||
unlockScreen();
|
unlockScreen();
|
||||||
addRefreshRect(xs, ys, xs + width, ys + height);
|
addRefreshRect(destX, destY, destX + width, destY + height);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: See if PAL_PIXELS can be converted to a uint16 array
|
// TODO: See if PAL_PIXELS can be converted to a uint16 array
|
||||||
@ -498,7 +498,7 @@ void GraphicsManager::m_scroll16A(const byte *surface, int xs, int ys, int width
|
|||||||
yNext = yCtr - 1;
|
yNext = yCtr - 1;
|
||||||
} while (yCtr != 1);
|
} while (yCtr != 1);
|
||||||
|
|
||||||
addRefreshRect(xs, ys, xs + width, ys + width);
|
addRefreshRect(destX, destY, destX + width, destY + width);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GraphicsManager::Copy_Vga16(const byte *surface, int xp, int yp, int width, int height, int destX, int destY) {
|
void GraphicsManager::Copy_Vga16(const byte *surface, int xp, int yp, int width, int height, int destX, int destY) {
|
||||||
@ -537,7 +537,7 @@ void GraphicsManager::Copy_Vga16(const byte *surface, int xp, int yp, int width,
|
|||||||
yCount = yCtr - 1;
|
yCount = yCtr - 1;
|
||||||
} while (yCtr != 1);
|
} while (yCtr != 1);
|
||||||
|
|
||||||
addRefreshRect(xp, yp, xp + width, yp + width);
|
addRefreshRect(destX, destY, destX + width, destY + width);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user