|
|
| version 1.2, 2003/12/08 00:55:33 | version 1.4, 2004/01/13 05:30:58 |
|---|---|
| Line 4 | Line 4 |
| #include "scrnmng.h" | #include "scrnmng.h" |
| #include "np2info.h" | #include "np2info.h" |
| #include "cpucore.h" | #include "cpucore.h" |
| #include "memory.h" | |
| #include "pccore.h" | #include "pccore.h" |
| #include "iocore.h" | #include "iocore.h" |
| #include "bios.h" | #include "bios.h" |
| Line 76 static void info_clock(char *str, int ma | Line 75 static void info_clock(char *str, int ma |
| UINT32 clock; | UINT32 clock; |
| char clockstr[16]; | char clockstr[16]; |
| clock = (pc.realclock + 50000) / 100000; | clock = (pccore.realclock + 50000) / 100000; |
| SPRINTF(clockstr, str_clockfmt, clock/10, clock % 10); | SPRINTF(clockstr, str_clockfmt, clock/10, clock % 10); |
| milstr_ncpy(str, clockstr, maxlen); | milstr_ncpy(str, clockstr, maxlen); |
| } | } |
| static void info_base(char *str, int maxlen) { | static void info_base(char *str, int maxlen) { |
| milstr_ncpy(str, (pc.baseclock == PCBASECLOCK25)?str_5MHz:str_8MHz, | milstr_ncpy(str, (pccore.baseclock == PCBASECLOCK25)?str_5MHz:str_8MHz, |
| maxlen); | maxlen); |
| } | } |