shonumi / gbe-plus

DMG/GBC/GBA emulator and experimental NDS emulator.
GNU General Public License v2.0
524 stars 79 forks source link

Fast Forward mode only works rarely, no matter what hotkey I assign it to + Overclock question #77

Open JappaWakka opened 6 years ago

JappaWakka commented 6 years ago

Sometimes I'm lucky, but most of the time nothing happens when I press the hotkey. Also why does the CPU overclock function only speed up the audio?

shonumi commented 6 years ago

The turbo hotkey depends on whether or not you're using OpenGL and if your drivers force V-Sync. If they do force V-Sync, GBE+ will be limited to whatever your displays refresh rate is. You can fix this by disabling V-Sync in your drivers or turning OpenGL off in GBE+. I can probably add a feature to GBE+ to disable V-Sync rather than the driver.

CPU overclocking is a hack that has different effects on different games. Some games ignore it (since their timing is unaffected, e.g. based on LCD refreshes, which still happen at ~16ms). Others only rely on hardware cycles for the audio, but not the game logic, so audio gets sped up. And others use hardware cycles for everything and both the game and music speed up. So it's a mixed grab-bag of various effects that are all determined by the game's engine. Ideally, it would not affect audio or game logic, but allow the emulated game more time to process whatever it wants to (e.g. this option removed lag in Faceball 2000 and Marble Madness on the GBC).

JappaWakka commented 6 years ago

What about being able to set the turbo speed to 1x, 1.5x, 2x, 3x etc? And to be able to toggle turbo on and off instead of only activating it by holding a key? Pokémon TCG is very slow, I've been getting used to 2x on my phone's emulator.

shonumi commented 6 years ago

Sure! I'll look into it soon. Should be pretty easy to implement.

JappaWakka commented 5 years ago

How far are you with implementing the game speedup menu and the custom graphics cache/color value conversion? I've been checking the commits and I haven't seen anything related to those things. I still can't use my custom graphics in-game because it's slow as hell. Please let me know if you haven't forgotten about me

shonumi commented 5 years ago

I haven't forgotten about this feature request or the various CGFX issues that are still open. They just aren't a priority at the moment. I'm doing work related to the MBC6 and GB Mobile Adapter that's very time consuming in terms of research+reverse engineering. Most of the commits these days are small maintenance stuff (low-hanging fruit) as I'm working on those two.

Marshandy834 commented 2 years ago

Pls teach me how to fast forward.