--- np2/macosx/ini.cpp 2004/03/15 05:06:01 1.19 +++ np2/macosx/ini.cpp 2005/05/16 06:08:22 1.22 @@ -328,8 +328,13 @@ const INITBL *pterm; extern int winx; extern int winy; +#if !defined(SUPPORT_PC9821) static const char ini_title[] = "NekoProjectII"; static const char inifile[] = "np2.cfg"; +#else +static const char ini_title[] = "NekoProject21"; +static const char inifile[] = "np21.cfg"; +#endif static const INITBL iniitem[] = { {"np2title", INITYPE_STR, np2oscfg.titles, @@ -337,7 +342,7 @@ static const INITBL iniitem[] = { {"WindposX", INITYPE_SINT32, &np2oscfg.winx, 0}, {"WindposY", INITYPE_SINT32, &np2oscfg.winy, 0}, - {"pc_model", INITYPE_STR, &np2cfg.model, + {"pc_model", INITYPE_STR, np2cfg.model, sizeof(np2cfg.model)}, {"clk_base", INITYPE_SINT32, &np2cfg.baseclock, 0}, {"clk_mult", INITYPE_SINT32, &np2cfg.multiple, 0}, @@ -424,6 +429,9 @@ static const INITBL iniitem[] = { #ifdef SUPPORT_KEYDISP {"keydispl", INITYPE_BOOL, &np2oscfg.keydisp, 0}, #endif +#ifdef SUPPORT_SOFTKBD + {"softkybd", INITYPE_BOOL, &np2oscfg.softkey, 0}, +#endif {"jast_snd", INITYPE_BOOL, &np2oscfg.jastsnd, 0}, // ver0.73 {"I286SAVE", INITYPE_BOOL, &np2oscfg.I286SAVE, 0}};