Diff for /np2/generic/np2info.c between versions 1.1 and 1.2

version 1.1, 2004/02/18 02:03:36 version 1.2, 2004/02/18 20:11:36
Line 10 Line 10
 #include        "np2info.h"  #include        "np2info.h"
   
   
 extern  RHYTHMCFG       rhythmcfg;  
   
 static const char str_comma[] = ", ";  static const char str_comma[] = ", ";
 static const char str_2halfMHz[] = "2.5MHz";  static const char str_2halfMHz[] = "2.5MHz";
 #define str_5MHz        (str_2halfMHz + 2)  #define str_5MHz        (str_2halfMHz + 2)
Line 271  static void info_bios(char *str, int max Line 269  static void info_bios(char *str, int max
 static void info_rhythm(char *str, int maxlen, NP2INFOEX *ex) {  static void info_rhythm(char *str, int maxlen, NP2INFOEX *ex) {
   
         char    rhythmstr[8];          char    rhythmstr[8];
           UINT    exist;
         UINT    i;          UINT    i;
   
           exist = rhythm_getcaps();
         milstr_ncpy(rhythmstr, str_rhythm, sizeof(rhythmstr));          milstr_ncpy(rhythmstr, str_rhythm, sizeof(rhythmstr));
         for (i=0; i<6; i++) {          for (i=0; i<6; i++) {
                 if (rhythmcfg.pcm[i].data == NULL) {                  if (!(exist & (1 << i))) {
                         rhythmstr[i] = '_';                          rhythmstr[i] = '_';
                 }                  }
         }          }

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


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