mirror of https://github.com/stella-emu/stella.git
Partially ported the X11 version to the new eventhandler class. It now
compiles and runs, but I haven't done any testing yet. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@179 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
3ab45a632d
commit
b2f6fa4823
|
@ -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: makefile,v 1.34 2003-09-07 18:30:28 stephena Exp $
|
||||
## $Id: makefile,v 1.35 2003-09-09 16:45:47 stephena Exp $
|
||||
##============================================================================
|
||||
|
||||
##============================================================================
|
||||
|
@ -30,7 +30,7 @@ OPTIMIZATIONS = $(CXXFLAGS) -Wall -Wno-unused
|
|||
### SDL sound not yet supported in the X11 version
|
||||
### comment out all lines to completely disable sound
|
||||
###
|
||||
SOUND_ALSA = 1
|
||||
#SOUND_ALSA = 1
|
||||
#SOUND_OSS = 1
|
||||
#SOUND_SDL = 1
|
||||
|
||||
|
@ -44,7 +44,7 @@ SOUND_ALSA = 1
|
|||
# DEBUG = 1
|
||||
|
||||
### to include joystick support in the X11 and SDL versions
|
||||
JOYSTICK_SUPPORT = 1
|
||||
# JOYSTICK_SUPPORT = 1
|
||||
|
||||
### to include support for saving snapshots in png format
|
||||
### (requires PNG library)
|
||||
|
|
|
@ -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: mainSDL.cxx,v 1.46 2003-09-07 18:30:28 stephena Exp $
|
||||
// $Id: mainSDL.cxx,v 1.47 2003-09-09 16:45:47 stephena Exp $
|
||||
//============================================================================
|
||||
|
||||
#include <fstream>
|
||||
|
@ -22,8 +22,10 @@
|
|||
#include <string>
|
||||
#include <algorithm>
|
||||
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#ifdef HAVE_GETTIMEOFDAY
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#include <SDL.h>
|
||||
#include <SDL_syswm.h>
|
||||
|
@ -120,9 +122,6 @@ static string theSnapShotDir, theSnapShotName;
|
|||
static Snapshot* snapshot;
|
||||
#endif
|
||||
|
||||
// FIXME - these are going to disappear
|
||||
//static Event theEvent;
|
||||
|
||||
// Pointer to the console object or the null pointer
|
||||
static Console* theConsole = (Console*) NULL;
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue