TransferBoy icon indicating copy to clipboard operation
TransferBoy copied to clipboard

Flicker in bottom few tile rows of screen.

Open joeldipops opened this issue 5 years ago • 3 comments
trafficstars

Whenever a sprite moves within the bottom few tiles, those rows flicker and get very ugly.

I suspect this is because the RSP hadn't quite finished rendering the last rows before being asked to render the new ones.

I think the fix here is to have some way for the RSP to signal that it is done and not interrupt it with a new render request. Just skip that frame.

There is also scope for optimising the RSP code - take advantage of delay slots where possible and avoid repeating a few calculations.

joeldipops avatar Dec 12 '19 12:12 joeldipops

Oh it's weirder than that. I hacked it so that only those rows would render and got the same behaviour. That can't be timing...

joeldipops avatar Dec 13 '19 11:12 joeldipops

Yep, the RSP is finishing well before the next frame comes along. What is this...

joeldipops avatar Dec 13 '19 12:12 joeldipops

Might be due to the fact I'm only working with one framebuffer atm. Let's try with two.

joeldipops avatar Dec 18 '19 01:12 joeldipops