Diff for /np2/sdl/ini.c between versions 1.2 and 1.5

version 1.2, 2003/12/04 06:41:23 version 1.5, 2005/05/16 06:08:22
Line 287  static const char ini_title[] = "NekoPro Line 287  static const char ini_title[] = "NekoPro
 static const char inifile[] = "np2.cfg";  static const char inifile[] = "np2.cfg";
   
 static const INITBL iniitem[] = {  static const INITBL iniitem[] = {
         {"pc_model", INITYPE_STR,               &np2cfg.model,          {"pc_model", INITYPE_STR,               np2cfg.model,
                                                                                                         sizeof(np2cfg.model)},                                                                                                          sizeof(np2cfg.model)},
         {"clk_base", INITYPE_SINT32,    &np2cfg.baseclock,              0},          {"clk_base", INITYPE_SINT32,    &np2cfg.baseclock,              0},
         {"clk_mult", INITYPE_SINT32,    &np2cfg.multiple,               0},          {"clk_mult", INITYPE_SINT32,    &np2cfg.multiple,               0},
Line 297  static const INITBL iniitem[] = { Line 297  static const INITBL iniitem[] = {
         {"ExMemory", INITYPE_UINT8,             &np2cfg.EXTMEM,                 0},          {"ExMemory", INITYPE_UINT8,             &np2cfg.EXTMEM,                 0},
         {"ITF_WORK", INITYPE_BOOL,              &np2cfg.ITF_WORK,               0},          {"ITF_WORK", INITYPE_BOOL,              &np2cfg.ITF_WORK,               0},
   
         {"HDD1FILE", INITYPE_STR,               np2cfg.hddfile[0],              MAX_PATH},          {"HDD1FILE", INITYPE_STR,               np2cfg.sasihdd[0],              MAX_PATH},
         {"HDD2FILE", INITYPE_STR,               np2cfg.hddfile[1],              MAX_PATH},          {"HDD2FILE", INITYPE_STR,               np2cfg.sasihdd[1],              MAX_PATH},
   #if defined(SUPPORT_SCSI)
           {"SCSIHDD0", INITYPE_STR,               np2cfg.scsihdd[0],              MAX_PATH},
           {"SCSIHDD1", INITYPE_STR,               np2cfg.scsihdd[1],              MAX_PATH},
           {"SCSIHDD2", INITYPE_STR,               np2cfg.scsihdd[2],              MAX_PATH},
           {"SCSIHDD3", INITYPE_STR,               np2cfg.scsihdd[3],              MAX_PATH},
   #endif
         {"fontfile", INITYPE_STR,               np2cfg.fontfile,                MAX_PATH},          {"fontfile", INITYPE_STR,               np2cfg.fontfile,                MAX_PATH},
         {"biospath", INITYPE_STR,               np2cfg.biospath,                MAX_PATH},          {"biospath", INITYPE_STR,               np2cfg.biospath,                MAX_PATH},
   
Line 353  static const INITBL iniitem[] = { Line 359  static const INITBL iniitem[] = {
         {"s_NOWAIT", INITYPE_BOOL,              &np2oscfg.NOWAIT,               0},          {"s_NOWAIT", INITYPE_BOOL,              &np2oscfg.NOWAIT,               0},
         {"SkpFrame", INITYPE_UINT8,             &np2oscfg.DRAW_SKIP,    0},          {"SkpFrame", INITYPE_UINT8,             &np2oscfg.DRAW_SKIP,    0},
         {"F12_bind", INITYPE_UINT8,             &np2oscfg.F12KEY,               0},          {"F12_bind", INITYPE_UINT8,             &np2oscfg.F12KEY,               0},
         {"e_resume", INITYPE_BOOL,              &np2oscfg.resume,               0}};          {"e_resume", INITYPE_BOOL,              &np2oscfg.resume,               0},
           {"jast_snd", INITYPE_BOOL,              &np2oscfg.jastsnd,              0},             // ver0.73
   };
   
 #define INIITEMS        (sizeof(iniitem) / sizeof(INITBL))  #define INIITEMS        (sizeof(iniitem) / sizeof(INITBL))
   

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


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