libretro / dolphin

Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.
https://dolphin-emu.org/
GNU General Public License v2.0
86 stars 68 forks source link

Fix refresh rate for PAL GC games with 60Hz option #311

Open bslenul opened 1 year ago

bslenul commented 1 year ago

Tested with Super Mario Sunshine, currently with the PAL version if you select "60Hz" in-game the core will still lock refresh rate to 50, making the audio awful and the game still running at 50 (25 internally).

I wasn't sure how to handle this so I just checked at how LRPS2 was handling this and it just reports NTSC timing no matter what in retro_get_system_av_info, and it seems to work absolutely fine with Dolphin as well. I tried multiple PAL GC and Wii games just to make sure, switching between 50 and 60Hz, I couldn't find any problem, the core properly runs at the correct refresh rate.

Also changed PAL60 core option name to PAL60 (Wii) to avoid confusion, since this setting only affects Wii games.

Fixes #310