Welcome, Guest! Log In | Create Account

Changeset 45628

Show
Ignore:
Timestamp:
11/03/09 11:32:23 (2 months ago)
Author:
thebluegr
Message:

Fixed a crash when loading in the old GUI

Location:
scummvm/trunk/engines/sci/gui32
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • scummvm/trunk/engines/sci/gui32/gui32.cpp

    r45626 r45628  
    393393        port_origin_x = 0; 
    394394        port_origin_y = 0; 
     395} 
     396 
     397void SciGui32::resetEngineState(EngineState *s) { 
     398        _s = s; 
     399        _gfx->resetEngineState(s); 
    395400} 
    396401 
  • scummvm/trunk/engines/sci/gui32/gui32.h

    r45612 r45628  
    114114 
    115115        // FIXME: Don't store EngineState 
    116         virtual void resetEngineState(EngineState *newState) { _s = newState; } 
     116        virtual void resetEngineState(EngineState *newState); 
    117117 
    118118private: