X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvj.cpp;h=0619b0523d070f2de61b07053a0ca800aaffa9cf;hb=94e1e961b57f253b760298ab0bae96a7de6d20fa;hp=123a0f56d0cce77b6cc5de48ebb2d7c9f3ef23c1;hpb=f95620384355f3db89f779e1e7be59260ecfc6ff;p=virtualjaguar diff --git a/src/vj.cpp b/src/vj.cpp index 123a0f5..0619b05 100644 --- a/src/vj.cpp +++ b/src/vj.cpp @@ -9,7 +9,7 @@ #include #include #include "file.h" -#include "gui.h" +//#include "gui.h" #include "jaguar.h" #include "log.h" #include "memory.h" @@ -39,7 +39,7 @@ //Maybe we should move the video stuff to TOM? Makes more sense to put it there... //Actually, it would probably be better served in VIDEO.CPP... !!! FIX !!! [DONE] //uint32 totalFrames;//temp, so we can grab this from elsewhere... -int main(int argc, char * argv[]) +int main_old(int argc, char * argv[]) { //NOTE: This isn't actually used anywhere... !!! FIX !!! int32 nFrameskip = 0; // Default: Show every frame @@ -157,8 +157,8 @@ int main(int argc, char * argv[]) WriteLog("VJ: SDL successfully initialized.\n"); - WriteLog("Initializing memory subsystem...\n"); - MemoryInit(); +// WriteLog("Initializing memory subsystem...\n"); +// MemoryInit(); #ifdef VJ_RELEASE_VERSION WriteLog("Virtual Jaguar %s (Last full build was on %s %s)\n", VJ_RELEASE_VERSION, __DATE__, __TIME__); #else @@ -188,11 +188,13 @@ WriteLog("About to attempt to load BIOSes...\n"); WriteLog("Initializing video subsystem...\n"); VideoInit(); WriteLog("Initializing GUI subsystem...\n"); - GUIInit(); +#warning "!!! FIX !!! (GUIInit())" +// GUIInit(); // Now with crunchy GUI goodness! WriteLog("About to start GUI...\n"); - GUIMain(haveCart ? argv[1] : NULL); +#warning "!!! FIX !!! (GUIMain(...))" +// GUIMain(haveCart ? argv[1] : NULL); //This is no longer accurate...! // int elapsedTime = clock() - startTime; @@ -201,12 +203,12 @@ WriteLog("About to start GUI...\n"); JaguarDone(); VideoDone(); - MemoryDone(); +// MemoryDone(); LogDone(); // Free SDL components last...! SDL_QuitSubSystem(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK | SDL_INIT_AUDIO | SDL_INIT_TIMER); SDL_Quit(); - return 0; + return 0; }