Diff for /np2/generic/np2info.c between versions 1.5 and 1.6

version 1.5, 2004/03/23 18:34:04 version 1.6, 2004/03/23 22:39:40
Line 68  static const char str_memfmt[] = "%3uKB" Line 68  static const char str_memfmt[] = "%3uKB"
 static const char str_memfmt2[] = "%3uKB + %uKB";  static const char str_memfmt2[] = "%3uKB + %uKB";
 static const char str_memfmt3[] = "%d.%1dMB";  static const char str_memfmt3[] = "%d.%1dMB";
 static const char str_width[] = "width-%u";  static const char str_width[] = "width-%u";
   static const char str_dispclock[] = "%u.%.2ukHz / %u.%uHz";
   
 static const char str_pcm86a[] = "   PCM: %dHz %dbit %s";  static const char str_pcm86a[] = "   PCM: %dHz %dbit %s";
 static const char str_pcm86b[] = "        %d / %d / 32768";  static const char str_pcm86b[] = "        %d / %d / 32768";
Line 182  static void info_gdc(char *str, int maxl Line 183  static void info_gdc(char *str, int maxl
         (void)ex;          (void)ex;
 }  }
   
   static void info_gdc2(char *str, int maxlen, NP2INFOEX *ex) {
   
           char    textstr[32];
   
           SPRINTF(textstr, str_dispclock,
                                                   gdc.hclock / 1000, (gdc.hclock / 10) % 100,
                                                   gdc.vclock / 10, gdc.vclock % 10);
           milstr_ncpy(str, textstr, maxlen);
           (void)ex;
   }
   
 static void info_text(char *str, int maxlen, NP2INFOEX *ex) {  static void info_text(char *str, int maxlen, NP2INFOEX *ex) {
   
 const char      *p;  const char      *p;
Line 354  static const INFOPROC infoproc[] = { Line 366  static const INFOPROC infoproc[] = {
                         {"MEM2",                info_mem2},                          {"MEM2",                info_mem2},
                         {"MEM3",                info_mem3},                          {"MEM3",                info_mem3},
                         {"GDC",                 info_gdc},                          {"GDC",                 info_gdc},
                           {"GDC2",                info_gdc2},
                         {"TEXT",                info_text},                          {"TEXT",                info_text},
                         {"GRPH",                info_grph},                          {"GRPH",                info_grph},
                         {"SND",                 info_sound},                          {"SND",                 info_sound},

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


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