Diff for /np2/x11/main.c between versions 1.2 and 1.5

version 1.2, 2003/11/17 16:12:27 version 1.5, 2003/11/23 12:46:55
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 242  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 250  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");                          result = soundmng_pcmload(SOUND_PCMSEEK1, SYSRESPATH "/wav/fddseek1.wav");
                 }                  }
                 if (result) {                  if (result) {
                         soundmng_pcmvolume(SOUND_PCMSEEK1, np2cfg.MOTORVOL);                          soundmng_pcmvolume(SOUND_PCMSEEK1, np2cfg.MOTORVOL);

Removed from v.1.2  
changed lines
  Added in v.1.5


RetroPC.NET-CVS <cvs@retropc.net>