SourMesen / Mesen-S

Mesen-S is a cross-platform (Windows & Linux) SNES emulator built in C++ and C#
GNU General Public License v3.0
415 stars 100 forks source link

Unholy Night - The Darkness Hunter (USA) (Unl) - graphics issue #144

Open Max833 opened 4 years ago

Max833 commented 4 years ago

Version: Mesen-S DevWin-0.4.054

During a fight there are a lot of graphics issue. You have to play for a while, though. Most of the time it happens after ~2 minutes.

image

SourMesen commented 4 years ago

I took a look at this yesterday, but haven't been able to figure out the exact cause of the problem. Basically the game is running a DMA operation, but it looks like it's configuring the DMA incorrectly and ends up copying more bytes than it intended, which ends up writing a bunch of garbage to the screen. Will have to take another look later on to try and see if I can find the exact issue.

The same bug is mentioned on a super nt-related repository, and a fix was apparently found and implemented, but unfortunately no details were given as to what the fix was.

FitzRoyX commented 4 years ago

Maybe it would be a good idea to verify this on hardware (using a flash cart and not the original cart) to rule out mapping issue?

Max833 commented 4 years ago

I didn't have a problem. Here's a video on hardware: https://streamable.com/lkw6wn

Edit: I played this game for quite a while now and one time I run into a bug on hardware after finishing the first match. One Character disappeared and I couldn't play anymore. So it seems like that this game is indeed not flawless.

IMG_4741