Closed xlar54 closed 6 years ago
and I believe commit fe2ea91fe294e1b4f868d468c096033cdff3801c should fix this, but haven't tested, if you have a prg handy that would be great, otherwise I'll try to put something together to test both this and double height sprites.. need to install the C64 dev tools on this box :)
yeah, try that program i sent earlier. let it run so that the sprite is displayed, then do the 255 POKE that is in the screenshot. (both screenshots). 53271,255 should double the width of all sprites and the 255 POKE on the other screenshot should double the height for all visible sprites as well. I didnt add those to the program but probably will
yah, read that on the other thread, will test these two with your PRG and the debugger :)
just tested with the debugger and it all seems to work fine!
Here's another patch (the previous was for double height):
void Vic::draw_sprite(int x, int y, int sprite, int row) { uint8_t swid = is_double_width_sprite(sprite) == true ? 2 : 1; uint16_t addr = get_sprite_ptr(sprite);
for(int w=0;w<swid;w++) { for (int i=0; i < 3 ; i++) { uint8t data = mem->vic_read_byte(addr + row * 3 + i);
} }