bsnes-emu / bsnes

bsnes is a Super Nintendo (SNES) emulator focused on performance, features, and ease of use.
Other
1.67k stars 154 forks source link

[Accurate and fast PPU issue] Battle Grand Prix (Japan) (En) - blackscreen #213

Closed Max833 closed 3 years ago

Max833 commented 3 years ago

https://archive.is/TQ1wX

When I press start the game freezes(?) sometimes and all I can see is a black screen. Works always with SNES9x but not with bsnes or Mesen-S.

Near:

Here's the fix: https://github.com/byuu/bsnes/commit/ce3dba130c60f611e785d2497cff073b0f3afc80 Basically this game is absolute pure evil and requires 100% perfect CPU<>DMA sync, which I messed up very slightly in v106.62 trying to simplify the number of operations needed for DMA transfer cycle counting. The reason it works in Snes9X is because if your timing is off by a lot, it works. It only starts breaking when you near perfection.