Skip to content

Commit

Permalink
Update parallel-rdp (#1691)
Browse files Browse the repository at this point in the history
  • Loading branch information
rasky authored Nov 9, 2024
1 parent 8f772cd commit 8668f98
Show file tree
Hide file tree
Showing 3 changed files with 54,008 additions and 48,926 deletions.
2 changes: 1 addition & 1 deletion ares/n64/vulkan/parallel-rdp/COMMIT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1f69c762be68feb9fcd5276d75acc6e5a6160a19
1cecd042b2619bc505c12bfdc713808386f2b54d
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,10 @@ void store_vram_color(uint index, uint slice)
{
index &= RDRAM_MASK_8;
index += slice * RDRAM_SIZE;
vram8.data[index ^ 3u] = mem_u8(current_color.r);
uint col = (index & 1) != 0 ? current_color.g : current_color.r;
vram8.data[index ^ 3u] = mem_u8(col);
if ((index & 1u) != 0u)
hidden_vram.data[index >> 1u] = mem_u8((current_color.r & 1) * 3);
hidden_vram.data[index >> 1u] = mem_u8((col & 1) * 3);
break;
}

Expand Down
Loading

0 comments on commit 8668f98

Please sign in to comment.