# HG changeset patch # User Robert McIntyre # Date 1331265340 21600 # Node ID 7ab48d728ee4d382b03726842597e318e5178066 # Parent 4a1b17917fc8dac74ebf823b505f1058f0e08bde more stuff. diff -r 4a1b17917fc8 -r 7ab48d728ee4 clojure/com/aurellem/gb_driver.clj --- a/clojure/com/aurellem/gb_driver.clj Thu Mar 08 21:50:46 2012 -0600 +++ b/clojure/com/aurellem/gb_driver.clj Thu Mar 08 21:55:40 2012 -0600 @@ -6,7 +6,7 @@ (Gb/loadVBA) -(def ^:dynamic *max-history* 10) +(def ^:dynamic *max-history* 1e4) (def ^:dynamic *backup-saves-to-disk* true) @@ -160,4 +160,7 @@ ([] (play Integer/MAX_VALUE)) ([n] (dorun (dotimes [_ n] (step))))) +(defmacro without-saves [& forms] + `(binding [*save-history* false] + ~@forms)) diff -r 4a1b17917fc8 -r 7ab48d728ee4 src/VisualBoyAdvance.cfg --- a/src/VisualBoyAdvance.cfg Thu Mar 08 21:50:46 2012 -0600 +++ b/src/VisualBoyAdvance.cfg Thu Mar 08 21:55:40 2012 -0600 @@ -166,7 +166,7 @@ # Sets the desired throttle # 0=disable, 5...1000 valid throttle speeds -throttle=5 +throttle=0 # Pauses the emulator when the window is inactive # 0=disable, anything else to enable