TWINE: disabled partial screen blitting for now

This commit is contained in:
Martin Gerhardy 2020-10-23 10:08:33 +02:00 committed by Eugene Sandulenko
parent 38cd5622b3
commit dffaa2956d

View File

@ -819,9 +819,13 @@ void TwinEEngine::flip() {
void TwinEEngine::copyBlockPhys(int32 left, int32 top, int32 right, int32 bottom) {
assert(left < right);
assert(top < bottom);
#if 0
// TODO: fix this - looks like the palette includes a color key at pos 0
g_system->copyRectToScreen(frontVideoBuffer.getPixels(), frontVideoBuffer.pitch, left, top, right - left + 1, bottom - top + 1);
g_system->updateScreen();
#else
flip();
#endif
}
void TwinEEngine::crossFade(const Graphics::ManagedSurface &buffer, const uint32 *palette) {