|
|
| version 1.6, 2003/11/11 16:33:50 | version 1.8, 2003/11/14 07:37:29 |
|---|---|
| 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)}, | |
| {"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}, |
| {"pc_model", INITYPE_UINT8, &np2cfg.model, 0}, | |
| {"DIPswtch", INITYPE_BYTEARG, np2cfg.dipsw, 3}, | {"DIPswtch", INITYPE_BYTEARG, np2cfg.dipsw, 3}, |
| {"MEMswtch", INITYPE_BYTEARG, np2cfg.memsw, 8}, | {"MEMswtch", INITYPE_BYTEARG, np2cfg.memsw, 8}, |