X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/03202f62407e24bd964016dccc06de95df622e3c..a6b499da5fd2a834963cc05178e6b8044dc9129f:/Framebuffer.v diff --git a/Framebuffer.v b/Framebuffer.v index ea0a1a5..35cb9d8 100644 --- a/Framebuffer.v +++ b/Framebuffer.v @@ -46,7 +46,7 @@ module Framebuffer( reg [2:0] failandloss; assign {vgar, vgag, vgab} = - ((vgax > `XOFS) && (vgax < (`XOFS + 161)) && (vgay > `YOFS) && (vgay < (`YOFS + 144))) ? {failandloss[2],2'b0,failandloss[1],2'b0,failandloss[0],1'b0} : + ((vgax > `XOFS) && (vgax < (`XOFS + 161)) && (vgay > `YOFS) && (vgay < (`YOFS + 144))) ? {failandloss[2],failandloss[1],1'b0,failandloss[2],failandloss[1],1'b0,failandloss[0],1'b0} : ((vgax < 640) && (vgay < 480)) ? 8'b00000000 : 8'b00000000;