Opened 5 days ago

Closed 5 days ago

#15421 closed defect (fixed)

CRAB: Unrest crashes on startup

Reported by: eriktorbjorn Owned by: sev-
Priority: normal Component: Engine: CRAB
Version: Keywords:
Cc: Game: Unrest

Description

GOG version of the game, current Git version of ScummVM.

When starting the game, there is a load screen and then the game crashes. What seems to happen is that Image::load(Graphics::ManagedSurface *surface) gets called before _texture has been created, because _texture is only created in Image::load(const Common::Path &path).

Moving the creation to the Image constructor seems to fix the problem. At least the game starts now. But I don't know if it's the correct fix or not.

Change History (3)

comment:2 by sev-, 5 days ago

In 26938f60:

CRAB: Fix regresion from ManagedSurface rwrite. Bug #15421

comment:3 by sev-, 5 days ago

Owner: set to sev-
Resolution: fixed
Status: newclosed

Ah, fixed.

Note: See TracTickets for help on using tickets.