libretro / snes9x

Snes9x - Portable Super Nintendo Entertainment System (TM) emulator
http://www.snes9x.com
Other
47 stars 56 forks source link

Blargg's NTSC filters break Hi-Res Mode #228

Closed mr-falafel closed 2 years ago

mr-falafel commented 4 years ago

When booting up Donkey Kong Country, the screen goes black where the nintendo logo should appear. This behaviour is not consistent with the original hardware or with standard snes9x.
Tested on both my laptop, running Manjaro, and my Raspberry Pi, running Lakka.

Attached are two short videos comparing the behaviour of snes9x-libretro with standard snes9x, on my laptop. donkeykongvideos.zip

EDIT With further experimentation it appears that it is Blargg's NTSC filter that is causing the problem on libretro. However, the logo still appears on standard snes9x even with the filter enabled.

mr-falafel commented 4 years ago

I can confirm that I get the same issue on Windows 10.

tuzepoito commented 4 years ago

I can also confirm the issue on my setup : Platform Windows 10 RetroArch 1.8.1 Core Snes9x (1.60 bd924d)

After a bit of testing, it seems to me that the problem is related to an incompatibility between Hi-Res Mode and Blargg's NTSC filters.

Steps to reproduce

Expected result The graphics are displayed properly with an NTSC effect.

Observed result Whenever the game switches to Hi-Res Mode the screen goes black.

Other observations:

In case you're wondering, the value of the "Hi-Res Blending" option does not seem to have any incidence on this issue (anyway, with Blargg's NTSC filter "Hi-Res Blending" is better turned off, as Blargg's filter supposedly already applies blending to Hi-Res graphics)

I do not observe the issue with stand-alone Snes9x 1.60 on my setup.

mr-falafel commented 4 years ago

Glad to see I'm not the only one experiencing this issue. It makes a lot more sense to me now that you've worked out what's actually going on. Do you think I should change the title to better reflect what's happening?

tuzepoito commented 4 years ago

Yeah I guess something like "Blargg's NTSC filters break Hi-Res Mode" could be a good idea.

mr-falafel commented 4 years ago

I've shamelessly stolen your title idea. Thanks!

Denshadego commented 3 years ago

Can confirm, both in Windows and Android.

realnc commented 2 years ago

I think this was fixed in commit a4efafbd2efd9c70dd9c19efbd3d478e7b6cf98b.

mr-falafel commented 2 years ago

It's working for me! I guess I'll close the issue now. Thanks everyone. :)