]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - GBZ80Core.v
Make binwire a little bit more error-resistant
[fpgaboy.git] / GBZ80Core.v
index e1aa3087b0a94f4cb7e422c3160b7849bf334c5a..3c2f7702aaa1c9e507232c435029c0a4456f48cf 100644 (file)
@@ -295,8 +295,11 @@ module GBZ80Core(
                                busaddress <= address;
                                buswr <= wr;
                                busrd <= rd;
-                               if (wr)
+                               if (wr) begin
                                        buswdata <= wdata;
+                                       if (address == 16'hFF50)
+                                               bootstrap_enb <= 0;
+                               end
                        end
                end
                `STATE_DECODE: begin    /* Make sure this only happens for one clock. */
This page took 0.020879 seconds and 4 git commands to generate.