|
|
| version 1.1, 2003/11/16 16:43:45 | version 1.4, 2003/11/20 14:05:04 |
|---|---|
| Line 104 static void | Line 104 static void |
| usage(void) | usage(void) |
| { | { |
| printf("Usage: %s [options] [[FD0 image] [[FD1 image] [[FD2 image] [FD3 image]]]]\n", progname); | printf("Usage: %s [options] [[FD1 image] [[FD2 image] [[FD3 image] [FD4 image]]]]\n", progname); |
| exit(1); | exit(1); |
| } | } |
| Line 203 main(int argc, char *argv[]) | Line 203 main(int argc, char *argv[]) |
| } | } |
| } | } |
| } | } |
| if (timidity_cfgfile_path[0] == '\0') { | |
| file_cpyname(timidity_cfgfile_path, modulefile, | |
| sizeof(timidity_cfgfile_path)); | |
| file_cutname(timidity_cfgfile_path); | |
| file_catname(timidity_cfgfile_path, "timidity.cfg", | |
| sizeof(timidity_cfgfile_path)); | |
| } | |
| dosio_init(); | dosio_init(); |
| file_setcd(modulefile); | file_setcd(modulefile); |
| Line 235 main(int argc, char *argv[]) | Line 242 main(int argc, char *argv[]) |
| if (soundmng_initialize() == SUCCESS) { | if (soundmng_initialize() == SUCCESS) { |
| result = soundmng_pcmload(SOUND_PCMSEEK, file_getcd("fddseek.wav")); | result = soundmng_pcmload(SOUND_PCMSEEK, file_getcd("fddseek.wav")); |
| if (!result) { | if (!result) { |
| result = soundmng_pcmload(SOUND_PCMSEEK, SYSRESPATH "/fddseek.wav"); | result = soundmng_pcmload(SOUND_PCMSEEK, SYSRESPATH "/wav/fddseek.wav"); |
| } | } |
| if (result) { | if (result) { |
| soundmng_pcmvolume(SOUND_PCMSEEK, np2cfg.MOTORVOL); | soundmng_pcmvolume(SOUND_PCMSEEK, np2cfg.MOTORVOL); |
| Line 243 main(int argc, char *argv[]) | Line 250 main(int argc, char *argv[]) |
| result = soundmng_pcmload(SOUND_PCMSEEK1, file_getcd("fddseek1.wav")); | result = soundmng_pcmload(SOUND_PCMSEEK1, file_getcd("fddseek1.wav")); |
| if (!result) { | if (!result) { |
| soundmng_pcmload(SOUND_PCMSEEK1, SYSRESPATH "/fddseek1.wav"); | soundmng_pcmload(SOUND_PCMSEEK1, SYSRESPATH "/wav/fddseek1.wav"); |
| } | } |
| if (result) { | if (result) { |
| soundmng_pcmvolume(SOUND_PCMSEEK1, np2cfg.MOTORVOL); | soundmng_pcmvolume(SOUND_PCMSEEK1, np2cfg.MOTORVOL); |