]> Shamusworld >> Repos - virtualjaguar/commitdiff
Yet more switches!
authorShamus Hammons <jlhamm@acm.org>
Tue, 16 Sep 2003 00:01:09 +0000 (00:01 +0000)
committerShamus Hammons <jlhamm@acm.org>
Tue, 16 Sep 2003 00:01:09 +0000 (00:01 +0000)
src/vj.cpp

index 7b86263964cacd9cdc805c49b6cd5cb6bf736700..de9a9a92999f31319facc370320ca946e31b5333 100644 (file)
@@ -124,6 +124,12 @@ int main(int argc, char * argv[])
                if (!strcmp(argv[i], "-nodsp"))
                        vjs.DSPEnabled = false;
 
+               if (!strcmp(argv[i], "-pipeline"))
+                       vjs.usePipelinedDSP = true;
+
+               if (!strcmp(argv[i], "-nopipeline"))
+                       vjs.usePipelinedDSP = false;
+
                if (!strcmp(argv[i], "-gl"))
                        vjs.useOpenGL = true;
 
@@ -154,6 +160,8 @@ int main(int argc, char * argv[])
                        printf("  -nobios         : Boot cart without using Jaguar BIOS ROM   \n");
                        printf("  -dsp            : Force VJ to use the DSP                   \n");
                        printf("  -nodsp          : Force VJ to run without the DSP           \n");
+                       printf("  -pipeline       : Use the DSP pipelined core                \n");
+                       printf("  -nopipeline     : Use the DSP non-pipelined core            \n");
                        printf("  -gl             : Use OpenGL rendering                      \n");
                        printf("  -nogl           : Use old non-OpenGL rendering              \n");
                        printf("  -fullscreen     : Enable fullscreen mode (default: windowed)\n");
@@ -230,6 +238,10 @@ int main(int argc, char * argv[])
             // Set up new backbuffer with new pixels and data
                        JaguarExecute(backbuffer, true);
                        totalFrames++;
+//WriteLog("Frame #%u...\n", totalFrames);
+//extern bool doDSPDis;
+//if (totalFrames == 373)
+//     doDSPDis = true;
 
                        // Some QnD GUI stuff here...
                        if (showGUI)