]> Joshua Wise's Git repositories - fpgaboy.git/blobdiff - GBZ80Core.v
Bugfix for SCF
[fpgaboy.git] / GBZ80Core.v
index ae6ff0076d3676591d162f1b6a1eb5b903b83087..fef4de29e759bf487cfd2343098d3c040f642ba0 100644 (file)
@@ -843,7 +843,7 @@ module GBZ80Core(
                                        registers[`REG_F] <= {registers[`REG_F][7],1'b1,1'b1,registers[`REG_F][4:0]};
                                end
                                `INSN_alu_SCF: begin
-                                       registers[`REG_F] <= {registers[`REG_F][7:5],1,registers[`REG_F][3:0]};
+                                       registers[`REG_F] <= {registers[`REG_F][7:5],1'b1,registers[`REG_F][3:0]};
                                end
                                `INSN_alu_CCF: begin
                                        registers[`REG_F] <= {registers[`REG_F][7:5],~registers[`REG_F][4],registers[`REG_F][3:0]};
This page took 0.328336 seconds and 4 git commands to generate.