Fix timers / code them in C
MicroLua brings Lua on the Nintendo DS for easy programming
Brought to you by:
reylak
Since [0e7851] os.initTimer() has been removed and os.time() has regained its true purpose. However since then Timers only count seconds because they are based on os.time()... I advise you to check the here-above commit and to diff loslib.c to learn more and understand what was done.
Anyway, we can now take benefit from this and move the Timers system to a C file while fixing this stuff :)
Anonymous
Related to [#19] "Code 'libs.lua' in C sources"
Moreover, we may change the name of the method
:time()
to:getTime()
(part of issue [#10]).Related
Issues: #10
Issues: #19
Done in [2b832b].
Related
Commit: [2b832b]