]> 4ch.mooo.com Git - 16.git/commitdiff
testing vgmtest.exe on compy4 soon
authorsparky4 <sparky4@cock.li>
Fri, 1 Sep 2017 01:18:09 +0000 (20:18 -0500)
committersparky4 <sparky4@cock.li>
Fri, 1 Sep 2017 01:18:09 +0000 (20:18 -0500)
src/lib/vgmsnd/vgmSnd.h
src/vgmtest.c

index da9fcec90e49c590420f326463b70863466173f9..a5515ad0c956a07f5212ba29a3611537d564be1b 100755 (executable)
@@ -1,7 +1,7 @@
 #ifndef __VGMSNDDRV_H__\r
 #define __VGMSNDDRV_H__\r
 \r
-//#define VGM_USESCAMMPM\r
+#define VGM_USESCAMMPM\r
 \r
 #ifdef __cplusplus\r
 extern "C"\r
index 6a53d65b587243033c6e9cd3acbb979f31c3a8ba..7d13975a7a77912f8e899a16a3ebdf265de4f318 100755 (executable)
@@ -55,13 +55,14 @@ main(int argc, char *argv[])
 {\r
        static global_game_variables_t gvar;\r
        VGM_FILE pee[9];\r
-       char bakapee[64] = "data/adlib.vgm";\r
+       char bakapee[64] = "data/02.vgm";\r
 \r
        if(argv[1]) strcpy(bakapee, argv[1]);\r
 \r
-       MM_Startup(&gvar);\r
+//     MM_Startup(&gvar);\r
 //     PM_Startup(&gvar); PM_UnlockMainMem(&gvar);\r
 //     CA_Startup(&gvar);\r
+       StartupCAMMPM(&gvar);\r
        printf("%x\n", OpenVGMFile(bakapee, &pee[0], &gvar));\r
        InitEngine();\r
        PlayMusic(&pee[0]);\r
@@ -74,5 +75,6 @@ main(int argc, char *argv[])
        DeinitEngine();\r
 //     PM_Shutdown(&gvar);\r
 //     CA_Shutdown(&gvar);\r
-       MM_Shutdown(&gvar);\r
+//     MM_Shutdown(&gvar);\r
+       ShutdownCAMMPM(&gvar);\r
 }\r