mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-11 19:54:03 +00:00
SCI: Initialize EngineState::_segMan
Destructor deletes a potentially uninitialized pointer
This commit is contained in:
parent
a98dea4e7c
commit
5cc1ac3a98
@ -66,8 +66,9 @@ static const uint16 s_halfWidthSJISMap[256] = {
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
};
|
||||
|
||||
EngineState::EngineState(SegManager *segMan)
|
||||
: _segMan(segMan),
|
||||
EngineState::EngineState(SegManager *segMan) :
|
||||
_segMan(segMan),
|
||||
_msgState(nullptr),
|
||||
_dirseeker() {
|
||||
|
||||
reset(false);
|
||||
|
Loading…
Reference in New Issue
Block a user