comparison vdp.c @ 1873:041a381b9f0d

Fix regression in sprite rendering in H32 mode
author Michael Pavone <pavone@retrodev.com>
date Fri, 02 Aug 2019 18:51:13 -0700
parents e75b788caedd
children cae2b55d683f
comparison
equal deleted inserted replaced
1872:45be49d3a98b 1873:041a381b9f0d
2801 scan_sprite_table(context->vcounter, context);//Just a guess 2801 scan_sprite_table(context->vcounter, context);//Just a guess
2802 //reverse context slot counter so it counts the number of sprite slots 2802 //reverse context slot counter so it counts the number of sprite slots
2803 //filled rather than the number of available slots 2803 //filled rather than the number of available slots
2804 //context->slot_counter = MAX_SPRITES_LINE - context->slot_counter; 2804 //context->slot_counter = MAX_SPRITES_LINE - context->slot_counter;
2805 context->cur_slot = context->slot_counter; 2805 context->cur_slot = context->slot_counter;
2806 context->sprite_x_offset = 0;
2806 context->sprite_draws = MAX_SPRITES_LINE_H32; 2807 context->sprite_draws = MAX_SPRITES_LINE_H32;
2807 CHECK_LIMIT 2808 CHECK_LIMIT
2808 COLUMN_RENDER_BLOCK(2, 1) 2809 COLUMN_RENDER_BLOCK(2, 1)
2809 COLUMN_RENDER_BLOCK(4, 9) 2810 COLUMN_RENDER_BLOCK(4, 9)
2810 COLUMN_RENDER_BLOCK(6, 17) 2811 COLUMN_RENDER_BLOCK(6, 17)