Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
02771 Crash/Freeze Critical (emulator) Always Dec 25, 2008, 13:53 Dec 26, 2008, 06:56
Tester Firewave View Status Public Platform MAME (Self-compiled)
Assigned To Mamesick Resolution Fixed OS Windows XP/Vista 64-bit
Status [?] Resolved Driver
Version 0.128u7 Fixed in Version 0.129 Build Debug
Fixed in Git Commit Github Pull Request #
Summary 02771: all ddragon3.c, shadfrce.c and wwfsstar.c sets: [debug] Assertion
assert: src/emu/video.c:801: scanline >= 0
Steps To Reproduce
Additional Information
Github Commit
Flags Debug build specific
Regression Version > 0.128u3
Affected Sets / Systems all ddragon3.c, shadfrce.c and wwfsstar.c sets
Attached Files
There are no relationship linked to this issue.
User avatar
Atari Ace
Senior Tester
Dec 25, 2008, 15:42
You can 'fix' this by changing wwfsstar_scanline to return for scanline == 0, but the same problem appears to be in ddragon3_scanline, shadfrce_scanline, wwfwfest_interrupt as well.

FYI, the end of those routines adjusts for wraparound, but only on the local variable so they don't do anything and can be dropped.
User avatar
Senior Tester
Dec 25, 2008, 16:27
Indeed. It also happens with all sets in ddragon3.c and shadfrce.c.
User avatar
Senior Tester
Dec 25, 2008, 19:09
Fix submitted for all drivers affected. It was an ingenuity in my code. I'm glad it surfaced so soon.