diff clojure/com/aurellem/gb_driver.clj @ 105:2f8089eacab9

working on some actual assembly programs
author Robert McIntyre <rlm@mit.edu>
date Tue, 13 Mar 2012 14:40:01 -0500
parents d2e00ea31508
children 3a60bb14a64a
line wrap: on
line diff
     1.1 --- a/clojure/com/aurellem/gb_driver.clj	Tue Mar 13 00:03:02 2012 -0500
     1.2 +++ b/clojure/com/aurellem/gb_driver.clj	Tue Mar 13 14:40:01 2012 -0500
     1.3 @@ -93,8 +93,7 @@
     1.4  (defn set-state! [^SaveState state]
     1.5    (assert (:data state) "Not a valid state!")
     1.6    (if (not @on?) (restart!))
     1.7 -  (if (not= @current-state state)
     1.8 -    (Gb/loadState (:data state)))
     1.9 +  (Gb/loadState (:data state))
    1.10    (reset! current-state state))
    1.11  
    1.12  (defrecord Move [keys state])