src/mess/video/smsvdp.c
| r13785 | r13786 | |
| 911 | 911 | |
| 912 | 912 | if (!(priority_selected[pixel_plot_x] & PRIORITY_BIT)) |
| 913 | 913 | { |
| 914 | | priority_selected[pixel_plot_x] = line_buffer[pixel_plot_x] = m_current_palette[pen_selected]; |
| 915 | | priority_selected[pixel_plot_x + 1] = line_buffer[pixel_plot_x + 1] = m_current_palette[pen_selected]; |
| 914 | line_buffer[pixel_plot_x] = m_current_palette[pen_selected]; |
| 915 | priority_selected[pixel_plot_x] = pen_selected; |
| 916 | line_buffer[pixel_plot_x + 1] = m_current_palette[pen_selected]; |
| 917 | priority_selected[pixel_plot_x + 1] = pen_selected; |
| 916 | 918 | } |
| 917 | 919 | else |
| 918 | 920 | { |
| 919 | 921 | if (priority_selected[pixel_plot_x] == PRIORITY_BIT) |
| 920 | 922 | { |
| 921 | | priority_selected[pixel_plot_x] = line_buffer[pixel_plot_x] = m_current_palette[pen_selected]; |
| 923 | line_buffer[pixel_plot_x] = m_current_palette[pen_selected]; |
| 924 | priority_selected[pixel_plot_x] = pen_selected; |
| 922 | 925 | } |
| 923 | 926 | if (priority_selected[pixel_plot_x + 1] == PRIORITY_BIT) |
| 924 | 927 | { |
| 925 | | priority_selected[pixel_plot_x + 1] = line_buffer[pixel_plot_x + 1] = m_current_palette[pen_selected]; |
| 928 | line_buffer[pixel_plot_x + 1] = m_current_palette[pen_selected]; |
| 929 | priority_selected[pixel_plot_x + 1] = pen_selected; |
| 926 | 930 | } |
| 927 | 931 | } |
| 928 | 932 | if (m_collision_buffer[pixel_plot_x] != 1) |
| r13785 | r13786 | |
| 956 | 960 | |
| 957 | 961 | if (!(priority_selected[pixel_plot_x] & PRIORITY_BIT)) |
| 958 | 962 | { |
| 959 | | priority_selected[pixel_plot_x] = line_buffer[pixel_plot_x] = m_current_palette[pen_selected]; |
| 963 | line_buffer[pixel_plot_x] = m_current_palette[pen_selected]; |
| 964 | priority_selected[pixel_plot_x] = pen_selected; |
| 960 | 965 | } |
| 961 | 966 | else |
| 962 | 967 | { |
| 963 | 968 | if (priority_selected[pixel_plot_x] == PRIORITY_BIT) |
| 964 | 969 | { |
| 965 | | priority_selected[pixel_plot_x] = line_buffer[pixel_plot_x] = m_current_palette[pen_selected]; |
| 970 | line_buffer[pixel_plot_x] = m_current_palette[pen_selected]; |
| 971 | priority_selected[pixel_plot_x] = pen_selected; |
| 966 | 972 | } |
| 967 | 973 | } |
| 968 | 974 | if (m_collision_buffer[pixel_plot_x] != 1) |