X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fclock.cpp;h=f4ef41963c9a1fc8010c16667d3eedd1fac0b3b0;hb=402ce5fd1cae18d622b04db8ba595f869b4b7464;hp=8ca3bc1d2f9d3a5f7c71a7e160f6d1bdf029c018;hpb=0031c06df2f7f099ca5ecf1632f46b92f6b0dd79;p=virtualjaguar diff --git a/src/clock.cpp b/src/clock.cpp index 8ca3bc1..f4ef419 100644 --- a/src/clock.cpp +++ b/src/clock.cpp @@ -1,41 +1,261 @@ // -// Clock handler +// System time handlers // -// by cal2 -// GCC/SDL port by Niels Wagenaar (Linux/WIN32) and Caz (BeOS) -// Cleanups by James L. Hammons +// by James L. Hammons // +// STILL TO DO: +// +// - Handling for an event that occurs NOW +// + +//#include +//#include "SDL.h" +//#include "SDL_opengl.h" +//#include "jaguar.h" +//#include "m68k.h" +//#include "gpu.h" +//#include "dsp.h" +//#include "settings.h" +//#include "video.h" +#include "log.h" +#include "clock.h" + +#define EVENT_LIST_SIZE 512 + +/* +// Current execution path: + +do +{ + HandleJoystick + + // Execute one frame -#include "jaguar.h" + for(int i=0; i