As I currently understand it, when rendering sprites the SNES first scans through the OAM to see which sprites have V/H position values that match with the current line. Then fetches tiles for those sprites during hblank so that they can (potentially) be displayed when the next line is output.
When comparing the V position is the SNES comparing against current_scanline or [current_scanline+1]? It seems like it should compare against [current_scanline+1] since the sprite tile data that it is fetching will (potentially) be displayed on the _next_ scanline, not the current scanline.
Admittedly I could programmatically figure this out by writing a test ROM with some sprites enabled (if I actually had the knowledge to know how to do that, which I don't...yet) and running in bsnes/higan . But I think it's useful to have this information on the forums as I was unable to fine the answer elsewhere.
When comparing the V position is the SNES comparing against current_scanline or [current_scanline+1]? It seems like it should compare against [current_scanline+1] since the sprite tile data that it is fetching will (potentially) be displayed on the _next_ scanline, not the current scanline.
Admittedly I could programmatically figure this out by writing a test ROM with some sprites enabled (if I actually had the knowledge to know how to do that, which I don't...yet) and running in bsnes/higan . But I think it's useful to have this information on the forums as I was unable to fine the answer elsewhere.