ITotalJustice / TotalSMS

Sega Master System emulator
https://itotaljustice.github.io/TotalSMS/
MIT License
23 stars 3 forks source link

Outrun - cloud gfx glitches #3

Closed ITotalJustice closed 3 years ago

ITotalJustice commented 3 years ago

no idea why this happens sadly

image

ITotalJustice commented 3 years ago

so this seems to be one of the few games that want line irq. my impl is broken, so its probably that

ITotalJustice commented 3 years ago

this was actually fixed in https://github.com/ITotalJustice/TotalSMS/commit/f88e0af7476fcf0e83e0d8e4bbb6818eef7f0623

ITotalJustice commented 3 years ago

turns out it was fixed by me adding a bug! https://github.com/ITotalJustice/TotalSMS/blob/b9c8baeed8c6347bf9fd1d23c8fb434d72fb6150/src/vdp.c#L522 forgot to add the break, making the frame much shorter, which magicall fixed this game and all other games continued to work, apart from sonic drift (gg game).

the issue now is that the clouds are cut in half and glitch out everywhere. either an interrupt handling or line interrupt bug.

image