mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 18:06:26 +00:00
VOYEUR: Fix some more uninitialized variables
This commit is contained in:
parent
27a098cd65
commit
bcca831c68
@ -80,6 +80,9 @@ EventsManager::EventsManager(): _intPtr(_gameData),
|
||||
_newLeftClick = _newRightClick = false;;
|
||||
|
||||
_videoDead = 0;
|
||||
|
||||
_fadeFirstCol = _fadeLastCol = 0;
|
||||
_fadeCount = 1;
|
||||
}
|
||||
|
||||
void EventsManager::resetMouse() {
|
||||
@ -373,7 +376,6 @@ void EventsManager::vDoFadeInt() {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
for (int i = _fadeFirstCol; i <= _fadeLastCol; ++i) {
|
||||
ViewPortPalEntry &palEntry = _vm->_graphicsManager._viewPortListPtr->_palette[i];
|
||||
byte *vgaP = &_vm->_graphicsManager._VGAColors[palEntry._palIndex * 3];
|
||||
|
@ -173,7 +173,7 @@ void BoltFilesState::nextBlock() {
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
||||
FilesManager::FilesManager() {
|
||||
|
||||
_curLibPtr = nullptr;
|
||||
}
|
||||
|
||||
bool FilesManager::openBoltLib(const Common::String &filename, BoltFile *&boltFile) {
|
||||
@ -1158,6 +1158,7 @@ PictureResource::PictureResource(int flags, int select, int pick, int onOff,
|
||||
_maskData = maskData;
|
||||
_imgData = imgData;
|
||||
_planeSize = planeSize;
|
||||
_freeImgData = DisposeAfterUse::NO;
|
||||
}
|
||||
|
||||
PictureResource::~PictureResource() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user