hojoi / replicaisland

Automatically exported from code.google.com/p/replicaisland
Apache License 2.0
0 stars 0 forks source link

Patch for /trunk/src/com/replica/replicaisland/GameThread.java #84

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Game crashes on devices capable of outputting more than 1000 frames per second. 
When averageFrameTime is less than one thousandth of a second, the integer 
division truncates it to zero. This causes a divide by zero error. The patch 
will check the value of averageFrameTime and report 1000 if it is zero.

Original issue reported on code.google.com by duckbrain30 on 10 Jun 2014 at 5:05

Attachments: