libretro / snes9x2010

Snes9x 2010. Port of Snes9x 1.52+ to Libretro (previously called SNES9x Next). Rewritten in C and several optimizations and speedhacks.
Other
98 stars 71 forks source link

Star fox runs too fast #86

Closed lostless closed 7 years ago

lostless commented 7 years ago

Star fox in game play is running too fast compared to the original game. Audio plays correctly. Good example is the into when the ships are flying out of the hanger, a voice says prepare for launch and the ships then fly out. In snes9x2010, the game just cuts off the voice cause the games in game engine is running too fast.

meepingsnesroms commented 7 years ago

This also happens when using snes9x(latest) with superfx over clock enabled. So the game is using the superfx as a timer and s9x 2010 doesn't throttle the superfx even with over clock disabled.

I do not know why this is,if you do please state it. (If you don't know how to program but think you know why please post also.)

lostless commented 7 years ago

Researching and found that star fox looks like it bases its speed off the clock of the super fx chip. There are videos of people that put the rom onto doom super fx2 board and star fox runs just like the emulator. Too fast. Seems to me that the super fx driver in snes9x2010 was programmed as a super fx 2 chip. The newer super fx code in snes9x, couldbe backported, but don't know if that's possible and if so, how that would effect performace on low power devices.
I'm no programmer, but I do dabble in electronics.

meepingsnesroms commented 7 years ago

Then why does setting SFX under clock to 5mhz not fix it.(since the superfx 2 is 2 times as fast just halfing the clock rate would fix it)

lostless commented 7 years ago

Beyond my knowlede

meepingsnesroms commented 7 years ago

Fixed (there was a || where there needed to be a &&)