[Scummvm-tracker] [ScummVM :: Bugs] #13561: Sanitarium: Random audio glitch and savegame thumbnails flickering

ScummVM :: Bugs trac at scummvm.org
Thu Jun 16 11:24:44 UTC 2022


#13561: Sanitarium: Random audio glitch and savegame thumbnails flickering
--------------------------------+-----------------------------
Reporter:  autistinenhomokissa  |       Owner:  (none)
    Type:  defect               |      Status:  new
Priority:  normal               |   Component:  Engine: Asylum
 Version:                       |  Resolution:
Keywords:                       |        Game:  Sanitarium
--------------------------------+-----------------------------
Comment (by antoniou79):

 Here's what I found to be the culprit:
 In "engines\asylum\views\menu.cpp", in Menu::adjustCoordinates() the
 g_system->getOverlayWidth() and g_system->getOverlayWidth() are 640 and
 480 respectively on SurfaceSDL mode. These values result on the x, y for
 cursor remaining unchanged after a call to adjustCoordinates().

 On OpenGL mode on my screen they are: 1920 and 1137. These values result
 on cursor x and y being radically changed after a call to
 adjustCoordinates().

 Now it seems also that adjustCoordinates() (in either SurfaceSDL or OpenGL
 mode) does not always adjust the cursor x and y. Sometimes it returns
 because apparently !g_system->isOverlayVisible() is true. I am not sure
 what this checks and why it fluctuates.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/13561#comment:7>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list