mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 18:06:26 +00:00
SCI32: Fix kShowMovie calls crashing SCI32
This will all be overhauled in the future but for now it is best not to crash when playing AVI/SEQ files.
This commit is contained in:
parent
272505fec1
commit
4dc3b046c3
@ -230,7 +230,7 @@ reg_t kShowMovie(EngineState *s, int argc, reg_t *argv) {
|
||||
// We also won't be copying the screen to the SCI screen...
|
||||
if (g_system->getScreenFormat().bytesPerPixel != 1)
|
||||
initGraphics(screenWidth, screenHeight, screenWidth > 320);
|
||||
else {
|
||||
else if (getSciVersion() < SCI_VERSION_2) {
|
||||
g_sci->_gfxScreen->kernelSyncWithFramebuffer();
|
||||
g_sci->_gfxPalette16->kernelSyncScreenPalette();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user