changeset 79:7ab48d728ee4

more stuff.
author Robert McIntyre <rlm@mit.edu>
date Thu, 08 Mar 2012 21:55:40 -0600
parents 4a1b17917fc8
children ad6ebe886a21
files clojure/com/aurellem/gb_driver.clj src/VisualBoyAdvance.cfg
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/clojure/com/aurellem/gb_driver.clj	Thu Mar 08 21:50:46 2012 -0600
     1.2 +++ b/clojure/com/aurellem/gb_driver.clj	Thu Mar 08 21:55:40 2012 -0600
     1.3 @@ -6,7 +6,7 @@
     1.4  
     1.5  (Gb/loadVBA)
     1.6  
     1.7 -(def ^:dynamic *max-history* 10)
     1.8 +(def ^:dynamic *max-history* 1e4)
     1.9  
    1.10  (def ^:dynamic *backup-saves-to-disk* true)
    1.11  
    1.12 @@ -160,4 +160,7 @@
    1.13    ([] (play Integer/MAX_VALUE))
    1.14    ([n] (dorun (dotimes [_ n] (step)))))
    1.15  
    1.16 +(defmacro without-saves [& forms]
    1.17 +  `(binding [*save-history* false]
    1.18 +     ~@forms))
    1.19  
     2.1 --- a/src/VisualBoyAdvance.cfg	Thu Mar 08 21:50:46 2012 -0600
     2.2 +++ b/src/VisualBoyAdvance.cfg	Thu Mar 08 21:55:40 2012 -0600
     2.3 @@ -166,7 +166,7 @@
     2.4  
     2.5  # Sets the desired throttle
     2.6  # 0=disable, 5...1000 valid throttle speeds
     2.7 -throttle=5
     2.8 +throttle=0
     2.9  
    2.10  # Pauses the emulator when the window is inactive
    2.11  # 0=disable, anything else to enable