mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
init _paletteDirtyStart/_paletteDirtyEnd to 0
svn-id: r7716
This commit is contained in:
@@ -103,7 +103,10 @@ OSystem_SDL_Common::OSystem_SDL_Common()
|
||||
_cdrom(0), _dirty_checksums(0),
|
||||
_mouseVisible(false), _mouseDrawn(false), _mouseData(0),
|
||||
_mouseHotspotX(0), _mouseHotspotY(0),
|
||||
_currentShakePos(0), _newShakePos(0) {
|
||||
_currentShakePos(0), _newShakePos(0),
|
||||
_paletteDirtyStart(0), _paletteDirtyEnd(0),
|
||||
_mutex(0) {
|
||||
|
||||
// allocate palette storage
|
||||
_currentPalette = (SDL_Color *)calloc(sizeof(SDL_Color), 256);
|
||||
|
||||
@@ -112,8 +115,6 @@ OSystem_SDL_Common::OSystem_SDL_Common()
|
||||
|
||||
// reset mouse state
|
||||
memset(&km, 0, sizeof(km));
|
||||
|
||||
_mutex = 0;
|
||||
}
|
||||
|
||||
OSystem_SDL_Common::~OSystem_SDL_Common() {
|
||||
|
||||
Reference in New Issue
Block a user