Diff for /np2/win9x/ini.cpp between versions 1.32 and 1.35

version 1.32, 2005/02/09 20:11:35 version 1.35, 2005/03/16 06:05:18
Line 180  const OEMCHAR *item; Line 180  const OEMCHAR *item;
         pterm = tbl + count;          pterm = tbl + count;
         while(p < pterm) {          while(p < pterm) {
 #if defined(OSLANG_UCS2)  #if defined(OSLANG_UCS2)
                 oemtext_sjis2oem(item, NELEMENTS(item), p->item, (UINT)-1);                  oemtext_sjistooem(item, NELEMENTS(item), p->item, (UINT)-1);
 #else  #else
                 item = p->item;                  item = p->item;
 #endif  #endif
Line 407  static const INITBL iniitem[] = { Line 407  static const INITBL iniitem[] = {
   
         {"DIPswtch", INITYPE_ARGH8,             np2cfg.dipsw,                   3},          {"DIPswtch", INITYPE_ARGH8,             np2cfg.dipsw,                   3},
         {"MEMswtch", INITYPE_ARGH8,             np2cfg.memsw,                   8},          {"MEMswtch", INITYPE_ARGH8,             np2cfg.memsw,                   8},
         {"ExMemory", INIMAX_UINT8,              &np2cfg.EXTMEM,                 13},          {"ExMemory", INIMAX_UINT8,              &np2cfg.EXTMEM,                 63},
         {"ITF_WORK", INIRO_BOOL,                &np2cfg.ITF_WORK,               0},          {"ITF_WORK", INIRO_BOOL,                &np2cfg.ITF_WORK,               0},
   
         {"HDD1FILE", INITYPE_STR,               np2cfg.sasihdd[0],              MAX_PATH},          {"HDD1FILE", INITYPE_STR,               np2cfg.sasihdd[0],              MAX_PATH},
Line 531  static const INITBL iniitem[] = { Line 531  static const INITBL iniitem[] = {
         {"useromeo", INITYPE_BOOL,              &np2oscfg.useromeo,             0},             // ver0.74          {"useromeo", INITYPE_BOOL,              &np2oscfg.useromeo,             0},             // ver0.74
         {"thickfrm", INITYPE_BOOL,              &np2oscfg.thickframe,   0},             // ver0.77          {"thickfrm", INITYPE_BOOL,              &np2oscfg.thickframe,   0},             // ver0.77
         {"xrollkey", INIRO_BOOL,                &np2oscfg.xrollkey,             0},             // ver0.78          {"xrollkey", INIRO_BOOL,                &np2oscfg.xrollkey,             0},             // ver0.78
           {"fscrnbpp", INIRO_UINT8,               &np2oscfg.fscrnbpp,             0},
         {"I286SAVE", INIRO_BOOL,                &np2oscfg.I286SAVE,             0}};          {"I286SAVE", INIRO_BOOL,                &np2oscfg.I286SAVE,             0}};
   
   
 void initgetfile(OEMCHAR *path, UINT size) {  void initgetfile(OEMCHAR *path, UINT size) {
   
         OEMCHAR *p;  const OEMCHAR   *ext;
   
         file_cpyname(path, modulefile, size);          file_cpyname(path, modulefile, size);
         if (np2arg.ini) {          if (np2arg.ini) {
Line 547  void initgetfile(OEMCHAR *path, UINT siz Line 548  void initgetfile(OEMCHAR *path, UINT siz
                 else {                  else {
                         file_cpyname(path, np2arg.ini, size);                          file_cpyname(path, np2arg.ini, size);
                 }                  }
                 p = file_getext(path);                  ext = file_getext(path);
                 if (!(*p)) {                  if (ext[0] != '\0') {
                         file_catname(path, OEMTEXT(".ini"), size);                          file_catname(path, OEMTEXT(".ini"), size);
                 }                  }
         }          }

Removed from v.1.32  
changed lines
  Added in v.1.35


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