Skip to content

Commit

Permalink
SHERLOCK: Cleanup fixes for event manager
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed May 9, 2015
1 parent 8306451 commit 00fb65c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions engines/sherlock/events.cpp
Expand Up @@ -188,9 +188,6 @@ bool Events::checkForNextFrameCounter() {
// Display the frame
_vm->_screen->update();

// Signal the ScummVM debugger
_vm->_debugger->onFrame();

return true;
}

Expand Down Expand Up @@ -267,7 +264,10 @@ bool Events::delay(uint32 time, bool interruptable) {
}

/**
* Sets the pressed and released button flags depending on the value passed
* Sets the pressed and released button flags on the raw button state previously set in pollEvents calls.
* @remarks The events manager has separate variables for the raw immediate and old button state
* versus the current buttons states for the frame. This method is expected to be called only once
* per game frame
*/
void Events::setButtonState() {
_released = _rightReleased = false;
Expand Down

0 comments on commit 00fb65c

Please sign in to comment.