X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/03202f62407e24bd964016dccc06de95df622e3c..47a8eefe3693f2cfc96488d8b557f72612d685e0:/Framebuffer.v?ds=inline 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;