|
|
| version 1.1, 2003/10/16 17:59:23 | version 1.8, 2004/03/21 11:47:20 |
|---|---|
| Line 290 static const char inifile[] = "np2.cfg"; | Line 290 static const char inifile[] = "np2.cfg"; |
| static const INITBL iniitem[] = { | static const INITBL iniitem[] = { |
| {"WindposX", INITYPE_SINT32, &np2oscfg.winx, 0}, | {"WindposX", INITYPE_SINT32, &np2oscfg.winx, 0}, |
| {"WindposY", INITYPE_SINT32, &np2oscfg.winy, 0}, | {"WindposY", INITYPE_SINT32, &np2oscfg.winy, 0}, |
| {"paddingx", INITYPE_SINT32, &np2oscfg.paddingx, 0}, | |
| {"paddingy", INITYPE_SINT32, &np2oscfg.paddingy, 0}, | |
| {"FDfolder", INITYPE_STR, fddfolder, MAX_PATH}, | {"FDfolder", INITYPE_STR, fddfolder, MAX_PATH}, |
| {"HDfolder", INITYPE_STR, hddfolder, MAX_PATH}, | {"HDfolder", INITYPE_STR, hddfolder, MAX_PATH}, |
| {"bmap_Dir", INITYPE_STR, bmpfilefolder, MAX_PATH}, | {"bmap_Dir", INITYPE_STR, bmpfilefolder, MAX_PATH}, |
| {"fontfile", INITYPE_STR, np2cfg.fontfile, MAX_PATH}, | {"fontfile", INITYPE_STR, np2cfg.fontfile, MAX_PATH}, |
| {"biospath", INITYPE_STR, np2cfg.biospath, MAX_PATH}, | |
| #if defined(SUPPORT_HOSTDRV) | |
| {"hdrvroot", INITYPE_STR, np2cfg.hdrvroot, MAX_PATH}, | |
| {"hdrv_acc", INITYPE_UINT8, &np2cfg.hdrvacc, 0}, | |
| #endif | |
| {"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 306 static const INITBL iniitem[] = { | Line 311 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}, |
| {"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 361 static const INITBL iniitem[] = { | Line 366 static const INITBL iniitem[] = { |
| {"pc9861_j", INITYPE_BYTEARG, np2cfg.pc9861jmp, 6}, | {"pc9861_j", INITYPE_BYTEARG, np2cfg.pc9861jmp, 6}, |
| {"calendar", INITYPE_BOOL, &np2cfg.calendar, 0}, | {"calendar", INITYPE_BOOL, &np2cfg.calendar, 0}, |
| {"USE144FD", INITYPE_BOOL, &np2cfg.usefd144, 0}, | {"USE144FD", INITYPE_BOOL, &np2cfg.usefd144, 0}, |
| {"e_resume", INITYPE_BOOL, &np2oscfg.resume, 0}, | |
| {"jast_snd", INITYPE_BOOL, &np2oscfg.jastsnd, 0}, // ver0.73 | |
| {"I286SAVE", INITYPE_BOOL, &np2oscfg.I286SAVE, 0}}; | {"I286SAVE", INITYPE_BOOL, &np2oscfg.I286SAVE, 0}}; |
| #define INIITEMS (sizeof(iniitem) / sizeof(INITBL)) | #define INIITEMS (sizeof(iniitem) / sizeof(INITBL)) |