Skip to content

Commit

Permalink
cps2: don't blank over sprites (#657)
Browse files Browse the repository at this point in the history
  • Loading branch information
gyurco committed Aug 7, 2024
1 parent d68d306 commit 13ff358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/cps2/hdl/jtcps2_colmix.v
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ end

always @(posedge clk) if(pxl_cen) begin
pxl <= !obj_en ? scr_pxl :
( (mux_sel || scr_pxl == 12'hFFF) ? scr_pxl : {3'd0, obj_pxl[8:0]} );
( (mux_sel || (scr_pxl == 12'hFFF && obj_pxl == 12'hFFF)) ? scr_pxl : {3'd0, obj_pxl[8:0]} );
end

`ifdef PRIO_SIM
Expand Down

0 comments on commit 13ff358

Please sign in to comment.