[Scummvm-tracker] [ScummVM] #10116: MM C64 DEMO: Attempting to display the original save/load screen causes a crash.

Robert Megone trac at scummvm.org
Fri Aug 11 09:37:33 CEST 2017


#10116: MM C64 DEMO: Attempting to display the original save/load screen causes a
crash.
---------------------------+----------------------------
Reporter:  robertmegone    |      Owner:  (none)
    Type:  defect          |     Status:  new
Priority:  normal          |  Component:  Engine: SCUMM
Keywords:  MM C64 DEMO V0  |       Game:  Maniac Mansion
---------------------------+----------------------------
 Playing the Maniac Mansion C64 demo, I experienced a crash when trying to
 press ALT+F5 to display the original save/load screen.

 I don't know if the demo version has a save/load screen but it seems safe
 to assume that it doesn't.

 The console spits out this error when the game crashes:
 ../../src-master/src/common/array.h:164: failed assertion `idx < _size'

 But I think the safest thing to do is simply add an additional condition
 to exclude the demo from the line:


 {{{
 if (_game.id == GID_MANIAC && _game.version == 0) {

 }}}

 Which is currently around line 488 in engines/scumm/input.cpp

--
Ticket URL: <https://bugs.scummvm.org/ticket/10116>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list