For later: We should only do time() once at the start of the game, and save that as start_time or something and write that to the save state. Then we should compute the current value from that. 

Otherwise we introduce a lack of determinism, if for example the host can't keep up with emulation or the user speeds up emulation by holding TAB (win).

This of course means that time will go way off sync while using save states, but IMHO that's to be expected.