Changed love.system.getPowerInfo to return -1 for battery percent and seconds remaining instead of nil, if the value can't be determined

This commit is contained in:
Alex Szpakowski
2013-08-26 00:47:27 -03:00
parent 552585cd82
commit af1cf14b7f
2 changed files with 7 additions and 13 deletions
+1
View File
@@ -172,6 +172,7 @@ LOVE 0.9.0 [Baby Inspector]
* Updated most love.filesystem functions to return nil, error on internal failure.
* Updated love.keypressed's second argument to be a boolean indicating key repeat.
* Updated keyboard key constants for some more modern keyboard keys.
* Updated window code to use adaptive vsync when available, if vsync is enabled.
* Updated the setFilter and setWrap methods, the second argument is now optional.
* Updated Font and ParticleSystem rendering code, now more performant.
* Updated SpriteBatch code, now more performant when adding/setting and (un)binding.