|
|
| version 1.9, 2005/02/09 20:11:35 | version 1.10, 2011/01/15 18:04:43 |
|---|---|
| Line 60 static void info_cpu(OEMCHAR *str, int m | Line 60 static void info_cpu(OEMCHAR *str, int m |
| static void info_clock(OEMCHAR *str, int maxlen, const NP2INFOEX *ex) { | static void info_clock(OEMCHAR *str, int maxlen, const NP2INFOEX *ex) { |
| UINT32 clock; | UINT32 clk; |
| OEMCHAR clockstr[16]; | OEMCHAR clockstr[16]; |
| clock = (pccore.realclock + 50000) / 100000; | clk = (pccore.realclock + 50000) / 100000; |
| OEMSPRINTF(clockstr, str_clockfmt, clock/10, clock % 10); | OEMSPRINTF(clockstr, str_clockfmt, clk/10, clk % 10); |
| milstr_ncpy(str, clockstr, maxlen); | milstr_ncpy(str, clockstr, maxlen); |
| (void)ex; | (void)ex; |
| } | } |