|
|
| version 1.5, 2003/11/05 17:58:01 | version 1.11, 2003/12/04 06:41:23 |
|---|---|
| Line 106 const INITBL *p; | Line 106 const INITBL *p; |
| break; | break; |
| case INITYPE_ARGS16: | case INITYPE_ARGS16: |
| milstr_ncpy(work, data, 512); | milstr_ncpy(work, data, sizeof(work)); |
| inirdargs16(work, p); | inirdargs16(work, p); |
| break; | break; |
| Line 332 static const char ini_title[] = "NekoPro | Line 332 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[] = { |
| {"np2title", INITYPE_STR, np2oscfg.titles, | |
| sizeof(np2oscfg.titles)}, | |
| {"WindposX", INITYPE_SINT32, &np2oscfg.winx, 0}, | |
| {"WindposY", INITYPE_SINT32, &np2oscfg.winy, 0}, | |
| {"pc_model", INITYPE_STR, &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 343 static const INITBL iniitem[] = { | Line 350 static const INITBL iniitem[] = { |
| {"HDD1FILE", INITYPE_STR, np2cfg.hddfile[0], MAX_PATH}, | {"HDD1FILE", INITYPE_STR, np2cfg.hddfile[0], MAX_PATH}, |
| {"HDD2FILE", INITYPE_STR, np2cfg.hddfile[1], MAX_PATH}, | {"HDD2FILE", INITYPE_STR, np2cfg.hddfile[1], MAX_PATH}, |
| {"fontfile", INITYPE_STR, np2cfg.fontfile, MAX_PATH}, | {"fontfile", INITYPE_STR, np2cfg.fontfile, MAX_PATH}, |
| {"biospath", INITYPE_STR, np2cfg.biospath, MAX_PATH}, | |
| {"SampleHz", INITYPE_UINT16, &np2cfg.samplingrate, 0}, | {"SampleHz", INITYPE_UINT16, &np2cfg.samplingrate, 0}, |
| {"Latencys", INITYPE_UINT16, &np2cfg.delayms, 0}, | {"Latencys", INITYPE_UINT16, &np2cfg.delayms, 0}, |
| Line 397 static const INITBL iniitem[] = { | Line 405 static const INITBL iniitem[] = { |
| {"Mouse_sw", INITYPE_BOOL, &np2oscfg.MOUSE_SW, 0}, | {"Mouse_sw", INITYPE_BOOL, &np2oscfg.MOUSE_SW, 0}, |
| {"comfirm_", INITYPE_BOOL, &np2oscfg.comfirm, 0}, | {"comfirm_", INITYPE_BOOL, &np2oscfg.comfirm, 0}, |
| {"e_resume", INITYPE_BOOL, &np2oscfg.resume, 0}, // ver0.30 | {"e_resume", INITYPE_BOOL, &np2oscfg.resume, 0}, // ver0.30 |
| {"toolwind", INITYPE_BOOL, &np2oscfg.toolwin, 0}, // ver0.38 | |
| {"I286SAVE", INITYPE_BOOL, &np2oscfg.I286SAVE, 0}}; | {"I286SAVE", INITYPE_BOOL, &np2oscfg.I286SAVE, 0}}; |
| #define INIITEMS (sizeof(iniitem) / sizeof(INITBL)) | #define INIITEMS (sizeof(iniitem) / sizeof(INITBL)) |