Diff for /np2/win9x/sstpmsg.cpp between versions 1.6 and 1.7

version 1.6, 2005/02/07 14:46:14 version 1.7, 2005/02/09 20:11:35
Line 23  static const char str_jwinmode[] = Line 23  static const char str_jwinmode[] =
                                                 " (窓モード)\0 (フルスクリーン)";                                                  " (窓モード)\0 (フルスクリーン)";
   
   
 static void info_progtitle(char *str, int maxlen, NP2INFOEX *ex) {  static void info_progtitle(char *str, int maxlen, const NP2INFOEX *ex) {
   
         milstr_ncpy(str, np2oscfg.titles, maxlen);          milstr_ncpy(str, np2oscfg.titles, maxlen);
 }  }
   
 static void info_jsound(char *str, int maxlen, NP2INFOEX *ex) {  static void info_jsound(char *str, int maxlen, const NP2INFOEX *ex) {
   
 const char      *p;  const char      *p;
   
Line 76  const char *p; Line 76  const char *p;
         milstr_ncpy(str, p, maxlen);          milstr_ncpy(str, p, maxlen);
 }  }
   
 static void info_jdisp(char *str, int maxlen, NP2INFOEX *ex) {  static void info_jdisp(char *str, int maxlen, const NP2INFOEX *ex) {
   
         UINT    bpp;          UINT    bpp;
   
Line 87  static void info_jdisp(char *str, int ma Line 87  static void info_jdisp(char *str, int ma
         (void)ex;          (void)ex;
 }  }
   
 static void info_jbios(char *str, int maxlen, NP2INFOEX *ex) {  static void info_jbios(char *str, int maxlen, const NP2INFOEX *ex) {
   
         str[0] = '\0';          str[0] = '\0';
         if (pccore.rom & PCROM_BIOS) {          if (pccore.rom & PCROM_BIOS) {
Line 104  static void info_jbios(char *str, int ma Line 104  static void info_jbios(char *str, int ma
         }          }
 }  }
   
 static void info_jrhythm(char *str, int maxlen, NP2INFOEX *ex) {  static void info_jrhythm(char *str, int maxlen, const NP2INFOEX *ex) {
   
 const char      *p;  const char      *p;
         char    jrhythmstr[16];          char    jrhythmstr[16];
Line 137  const char *p; Line 137  const char *p;
   
 typedef struct {  typedef struct {
         char    key[8];          char    key[8];
         void    (*proc)(char *str, int maxlen, NP2INFOEX *ex);          void    (*proc)(char *str, int maxlen, const NP2INFOEX *ex);
 } INFOPROC;  } INFOPROC;
   
 static const INFOPROC infoproc[] = {  static const INFOPROC infoproc[] = {
Line 147  static const INFOPROC infoproc[] = { Line 147  static const INFOPROC infoproc[] = {
                         {"JDISP",               info_jdisp},                          {"JDISP",               info_jdisp},
                         {"JRHYTHM",             info_jrhythm}};                          {"JRHYTHM",             info_jrhythm}};
   
 static BOOL sstpext(char *dst, const char *key, int maxlen, NP2INFOEX *ex) {  static BOOL sstpext(OEMCHAR *dst, const OEMCHAR *key, int maxlen,
                                                                                                                   const NP2INFOEX *ex) {
   
 const INFOPROC  *inf;  const INFOPROC  *inf;
 const INFOPROC  *infterm;  const INFOPROC  *infterm;
Line 227  static char *sstpsolve(char *buf, const  Line 228  static char *sstpsolve(char *buf, const 
                                 ms -= 10;                                  ms -= 10;
                         }                          }
                         if (ms) {                          if (ms) {
                                 wsprintf(buf, "\\w%u", ms);                                  SPRINTF(buf, "\\w%u", ms);
                                 buf += 3;                                  buf += 3;
                         }                          }
                 }                  }

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


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