[Scummvm-tracker] [ScummVM :: Bugs] #14025: Broken Sword 1 & 2 pretends to be 640x480 but it is never initialized / updated as such

ScummVM :: Bugs trac at scummvm.org
Wed Jan 11 21:11:45 UTC 2023


#14025: Broken Sword 1 & 2 pretends to be 640x480 but it is never initialized /
updated as such
-------------------------------+-----------------------------
Reporter:  mikrosk             |       Owner:  (none)
    Type:  defect              |      Status:  new
Priority:  normal              |   Component:  Engine: Sword1
 Version:                      |  Resolution:
Keywords:  resolution, height  |        Game:  Broken Sword 1
-------------------------------+-----------------------------
Comment (by mikrosk):

 As I said, it's not visible on the main backed (which is SDL I presume).
 It is easily observable if you alloc just one screen surface, say, 640x480
 (which can be shared for all 320x200, 320x240, 640x400 and 640x480 games
 in 8bpp).

 CMI will happily blit 640x480 images there.

 Then switch back to the overlay (different screen surface, so the game
 surface is not touched).

 Run BS1. Screen surface is blit to {0, 40, 640, 400} and the leftovers
 from CMI are visible. So now I have to implement a workaround in my code
 so that the screen surface must be blit/zeroed even if there is no dirty
 rectangle to process.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14025#comment:4>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list