altosui: Fix --replay to run in realtime after boost
authorKeith Packard <keithp@keithp.com>
Sat, 13 Sep 2014 22:51:50 +0000 (15:51 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 13 Sep 2014 22:59:50 +0000 (15:59 -0700)
I added the ability to rapidly replay files for AltosDroid to recover
from a crash, but didn't change AltosUI to use realtime mode again.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosUI.java

index 0aa5d03ce142ef1a420b2c45d4d581b9654ac829..cc1cf6f2f1b4681e5a56d15bd702d25fc42fa33e 100644 (file)
@@ -463,7 +463,7 @@ public class AltosUI extends AltosUIFrame {
                AltosStateIterable states = record_iterable(file);
                if (states == null)
                        return null;
-               return new AltosReplayReader(states.iterator(), file);
+               return new AltosReplayReader(states.iterator(), file, true);
        }
 
        static boolean process_replay(File file) {