mirror of
https://github.com/cc65/cc65.git
synced 2025-08-07 15:25:31 +00:00
The name of the CLOCKS_PER_SEC macro was wrong in the last version. This got
fixed in the time.h header but not in the sample program. git-svn-id: svn://svn.cc65.org/cc65/trunk@197 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -1035,7 +1035,7 @@ static void TimeSync (void)
|
||||
static void DisplayTime (void)
|
||||
/* Display the running time */
|
||||
{
|
||||
clock_t Time = (clock () - StartTime) / CLOCKS_PER_TICK;
|
||||
clock_t Time = (clock () - StartTime) / CLOCKS_PER_SEC;
|
||||
unsigned Sec = Time % 60;
|
||||
unsigned Min = Time / 60;
|
||||
|
||||
|
Reference in New Issue
Block a user