X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fvj.cpp;h=7b86263964cacd9cdc805c49b6cd5cb6bf736700;hb=96f7121f5499861e69cf042e408a3db133a5b1d0;hp=26e1173ba9f131c2706f7db400d76554c1ee14e4;hpb=072d1e7b64f342fc0d8e0e6e71c72b9b013a4a3d;p=virtualjaguar diff --git a/src/vj.cpp b/src/vj.cpp index 26e1173..7b86263 100644 --- a/src/vj.cpp +++ b/src/vj.cpp @@ -27,7 +27,6 @@ // Private function prototypes -//void InitSDL(void); uint32 JaguarLoadROM(uint8 *, char *); void JaguarLoadCart(uint8 *, char *); int gzfilelength(gzFile gd); @@ -40,12 +39,13 @@ extern uint8 * jaguar_mainRom; // Various paths -static char * jaguar_bootRom_path = "./bios/jagboot.rom"; +//static char * jaguar_bootRom_path = "./bios/jagboot.rom"; //static char *jaguar_bootRom_path="c:/jaguarEmu/newload.img"; //static char *jaguar_bootRom_path="./bios/JagOS.bin"; -char * jaguar_eeproms_path = "./eeproms/"; -char jaguar_boot_dir[1024]; +//char * jaguar_eeproms_path = "./eeproms/"; +//char jaguar_boot_dir[MAX_PATH]; +//These should go into video.cpp... SDL_Surface * surface, * mainSurface; int16 * backbuffer = NULL; SDL_Joystick * joystick; @@ -61,7 +61,7 @@ char messageBuffer[200]; // The main emulator loop (what else?) // //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 !!! +//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[]) { @@ -79,10 +79,12 @@ int main(int argc, char * argv[]) bool haveCart = false; // Assume there is no cartridge...! + log_init("vj.log"); LoadVJSettings(); // Get config file settings... // Check the switches... ;-) - // NOTE: Command line switches can override any config file settings. + // NOTE: Command line switches can override any config file settings, thus the + // proliferation of the noXXX switches. ;-) for(int i=1; i