mgba-emu / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
5.52k stars 753 forks source link

3ds sound is choppy with some games #1783

Open thatburritotho opened 4 years ago

thatburritotho commented 4 years ago

all the games ive tried with this emulator has had choppy audio and it looks like the frames are messed up too. first time really messing with emulators so i have no idea what to do

thatburritotho commented 4 years ago

i tried opening it through homebrew launcher as well as the cia

Prock78 commented 3 years ago

Hello! That's right, I experienced the same issue on a few games with the mGBA port on 3DS. I believe it happens because of a frame rate drop in some games. The most obvious example I found is in the game Crazy Taxi where the frame rate falls under 40 fps instead of 60 fps, but also in F-Zero Climax (around 50 fps), and a few other games in which the frame rate drop is no so huge, around 55fps: F-Zero Maximum Velocity, Metroid Zero Mission and probably others. In these games the emulation speed doesn't seem affected much visually but the sound seem choppy indeed. Is it technically possible to improve the emulation speed on the 3DS port of mGBA? Or maybe at least could it be possible to use the extra power of the New 3DS to improve the emulation speed for the New 3DS owners?

profi200 commented 3 years ago

mGBA already uses the increased clock speed and L2 cache on N3DS. Unless endrift got another trick up their sleeves there is not much that can be done here.

If you don't care about save states, button remapping, cheats and other convenience features and just want speed you can try: open_agb_firm. Keep in mind it's alpha software. Read everything carefully and expect bugs.

Prock78 commented 3 years ago

Thanks for your answer! I didn't know about that open_agb_firm. It seems promising even if it's in an early stage of development right now. I might give it a try.