mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 15:48:48 +00:00
SCI: kAddToPic - abort when list is null reference (fixes qfg1 saved game loading on some screens)
svn-id: r45351
This commit is contained in:
parent
f0c4290287
commit
701caea8d7
@ -841,6 +841,8 @@ reg_t kAddToPic(EngineState *s, int argc, reg_t *argv) {
|
||||
case 0:
|
||||
break;
|
||||
case 1:
|
||||
if (argv[0].isNull())
|
||||
return s->r_acc;
|
||||
s->_gui->addToPicList(argv[0], argc, argv);
|
||||
break;
|
||||
case 7:
|
||||
|
Loading…
Reference in New Issue
Block a user