mirror of https://github.com/stella-emu/stella.git
Found the bug wrt eventstream loading; the eventloop wasn't processing
all the events for the given frame. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@933 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
989c58ebfd
commit
98c94e4b24
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
//
|
//
|
||||||
// $Id: EventHandler.cxx,v 1.136 2005-12-29 01:25:07 stephena Exp $
|
// $Id: EventHandler.cxx,v 1.137 2005-12-29 01:40:41 stephena Exp $
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
@ -337,7 +337,7 @@ void EventHandler::poll(uInt32 time)
|
||||||
// Check if we have an event from the eventstreamer
|
// Check if we have an event from the eventstreamer
|
||||||
// TODO - should we lock out input from the user while getting synthetic events?
|
// TODO - should we lock out input from the user while getting synthetic events?
|
||||||
int type, value;
|
int type, value;
|
||||||
if(myEventStreamer->pollEvent(type, value))
|
while(myEventStreamer->pollEvent(type, value))
|
||||||
myEvent->set((Event::Type)type, value);
|
myEvent->set((Event::Type)type, value);
|
||||||
|
|
||||||
// Check for an event
|
// Check for an event
|
||||||
|
|
Loading…
Reference in New Issue