MiSTer-devel / Saturn_MiSTer

Sega Saturn for MiSTer
51 stars 13 forks source link

Problem with region detection #152

Closed Kuba-J closed 3 months ago

Kuba-J commented 3 months ago

There is some problem with region detection. The games run too fast, the sound too. After selecting the EUROPE region and going back to AUTO or USA/JAPAN settings, the games work correctly again.

Some games reported on discord: Sakura Taisen, Waku Waku 7, Elevator Action, Magic Knight Rayearth

core 20240313

METR0lD commented 3 months ago

To further elaborate, the core starts by running at 63hz, which speeds up everything. That even includes the bios, every game, and also audio. Switching the region to a PAL region (e.g., Europe), flips the speed down to 50hz, and switching it back to an NTSC region (e.g., Japan or USA) corrects the original problem back to the appropriate 60hz.

Zet-sensei commented 3 months ago

Maybe a problem with that recent sys update commit https://github.com/MiSTer-devel/Saturn_MiSTer/commit/ab7208ef788337692a372e905c3e547bf8979939 to check.

EDIT : Reverting it seems to fix the problem when I try to recompile the 20240313 version of the core, but I've only fast checked a BIOS launch and two games (Waku Waku 7 & Policenauts).

birdybro commented 3 months ago

I compiled a build that only reverts the recent update to the framework and others confirmed the same thing, that the BIOS screen when region is set to auto detection starts at 63hz.

I suspect some of the pll_cfg changes might be involved?

Kuba-J commented 3 months ago

Fixed with today core , 20240315