mirror of https://github.com/stella-emu/stella.git
Fixed segfault on program exit if joysticks have never been initialized.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2304 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
08c59e5882
commit
83114a9a6f
|
@ -63,6 +63,7 @@ EventHandler::EventHandler(OSystem* osystem)
|
|||
myAllowAllDirectionsFlag(false),
|
||||
myFryingFlag(false),
|
||||
mySkipMouseMotion(true),
|
||||
myJoysticks(NULL),
|
||||
myNumJoysticks(0)
|
||||
{
|
||||
// Create the event object which will be used for this handler
|
||||
|
|
Loading…
Reference in New Issue