FS#10390 - Make get_time on non-RTC simulators work similar to targets

Attached to Project: Rockbox
Opened by Alexander Levin (fml2) - Sunday, 28 June 2009, 16:24 GMT
Last edited by Alexander Levin (fml2) - Monday, 29 June 2009, 14:32 GMT
Task Type Patches
Category Simulator
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Version 3.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


As of now (r21544), the get_time function does return the real time for non-RTC simulators. The patch makes the behaviour more similar to real targets, i.e. Jan 1, 1970, 00:00:00 is always returned.

Also, some comments were added to better understand the #ifdef hell.
This task depends upon

Closed by  Alexander Levin (fml2)
Monday, 29 June 2009, 14:32 GMT
Reason for closing:  Accepted
Additional comments about closing:  Committed in r21561.