|
|
| version 1.5, 2004/01/13 05:30:59 | version 1.7, 2004/01/25 05:41:29 |
|---|---|
| Line 41 static const char str_egc[] = "EGC CG-Wi | Line 41 static const char str_egc[] = "EGC CG-Wi |
| static const char *grcgchip[4] = {str_null, str_grcg, str_grcgcgwin, str_egc}; | static const char *grcgchip[4] = {str_null, str_grcg, str_grcgcgwin, str_egc}; |
| extern int usesound; | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" { | extern "C" { |
| #endif | #endif |
| Line 99 static void info_mem1(char *str, int max | Line 97 static void info_mem1(char *str, int max |
| else { | else { |
| memsize = 640; | memsize = 640; |
| } | } |
| if (extmem.maxmem > 1) { | if (pccore.extmem) { |
| SPRINTF(memstr, str_memfmt2, memsize, (extmem.maxmem - 1) * 1024); | SPRINTF(memstr, str_memfmt2, memsize, pccore.extmem * 1024); |
| } | } |
| else { | else { |
| SPRINTF(memstr, str_memfmt, memsize); | SPRINTF(memstr, str_memfmt, memsize); |
| Line 120 static void info_mem2(char *str, int max | Line 118 static void info_mem2(char *str, int max |
| else { | else { |
| memsize = 640; | memsize = 640; |
| } | } |
| if (extmem.maxmem > 1) { | memsize += pccore.extmem * 1024; |
| memsize += (extmem.maxmem - 1) * 1024; | |
| } | |
| SPRINTF(memstr, str_memfmt, memsize); | SPRINTF(memstr, str_memfmt, memsize); |
| milstr_ncpy(str, memstr, maxlen); | milstr_ncpy(str, memstr, maxlen); |
| } | } |
| Line 139 static void info_mem3(char *str, int max | Line 135 static void info_mem3(char *str, int max |
| else { | else { |
| memsize = 640; | memsize = 640; |
| } | } |
| if (extmem.maxmem > 1) { | if (pccore.extmem > 1) { |
| SPRINTF(memstr, str_memfmt3, extmem.maxmem - 1, memsize / 100); | SPRINTF(memstr, str_memfmt3, pccore.extmem, memsize / 100); |
| } | } |
| else { | else { |
| SPRINTF(memstr, str_memfmt, memsize); | SPRINTF(memstr, str_memfmt, memsize); |