Mercurial > vba-clojure
diff clojure/com/aurellem/gb/vbm.clj @ 336:25b7bb7da3b1
Fixed two major bugs related to restart events which were causing desync. The entire video now syncs properly.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 07 Apr 2012 07:31:59 -0500 |
parents | abd1ca8a25cc |
children | c8cda378e1a0 |
line wrap: on
line diff
1.1 --- a/clojure/com/aurellem/gb/vbm.clj Sat Apr 07 05:42:26 2012 -0500 1.2 +++ b/clojure/com/aurellem/gb/vbm.clj Sat Apr 07 07:31:59 2012 -0500 1.3 @@ -56,7 +56,7 @@ 1.4 pending buttons] 1.5 (if (empty? pending) fixed 1.6 (let [mask (first pending)] 1.7 - (if (contains? (set (first pending)) :reset) 1.8 + (if (contains? (set (first pending)) :restart) 1.9 (recur (conj fixed mask) (drop 3 pending)) 1.10 (recur (conj fixed mask) (next pending))))))) 1.11