[Scummvm-tracker] [ScummVM :: Bugs] #15421: CRAB: Unrest crashes on startup

ScummVM :: Bugs trac at scummvm.org
Fri Oct 25 07:12:52 UTC 2024


#15421: CRAB: Unrest crashes on startup
-------------------------+--------------------------
Reporter:  eriktorbjorn  |      Owner:  (none)
    Type:  defect        |     Status:  new
Priority:  normal        |  Component:  Engine: CRAB
 Version:                |   Keywords:
    Game:  Unrest        |
-------------------------+--------------------------
 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.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15421>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list