mirror of https://github.com/stella-emu/stella.git
Fixed missing include in Win32. Also, it looks like the removal of
joystick detection type speeds up the Windows port again. It seems it's the strangest things that slow down the code ... git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@944 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
f8e51876b5
commit
b7bd48782c
|
@ -13,7 +13,7 @@
|
|||
// See the file "license" for information on usage and redistribution of
|
||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//
|
||||
// $Id: EventHandler.cxx,v 1.142 2006-01-09 00:42:11 stephena Exp $
|
||||
// $Id: EventHandler.cxx,v 1.143 2006-01-09 01:13:25 stephena Exp $
|
||||
//============================================================================
|
||||
|
||||
#include <sstream>
|
||||
|
@ -219,7 +219,7 @@ void EventHandler::setupJoysticks()
|
|||
|
||||
// Initialize the joystick subsystem
|
||||
if(showinfo)
|
||||
cerr << "Joystick devices found:" << endl;
|
||||
cout << "Joystick devices found:" << endl;
|
||||
if((SDL_InitSubSystem(SDL_INIT_JOYSTICK) == -1) || (SDL_NumJoysticks() <= 0))
|
||||
{
|
||||
if(showinfo)
|
||||
|
|
|
@ -13,11 +13,12 @@
|
|||
// See the file "license" for information on usage and redistribution of
|
||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||
//
|
||||
// $Id: OSystemWin32.cxx,v 1.8 2006-01-08 02:28:04 stephena Exp $
|
||||
// $Id: OSystemWin32.cxx,v 1.9 2006-01-09 01:13:26 stephena Exp $
|
||||
//============================================================================
|
||||
|
||||
#include <sstream>
|
||||
#include <fstream>
|
||||
#include <Windows.h>
|
||||
|
||||
#include "bspf.hxx"
|
||||
#include "OSystem.hxx"
|
||||
|
|
Loading…
Reference in New Issue