mgba-emu / mgba

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

mGBA doesn't work if there's no audio device #280

Open adcgx opened 8 years ago

adcgx commented 8 years ago

When loading a ROM, if you have no available audio device (like when I unplug my headset), mGBA will not start the game - instead, you'll have either the splash screen or a black screen, with an indication that the game is running at 0,1 fps.

endrift commented 8 years ago

This is because it runs in sync-to-audio mode by default, which doesn't work when there's no audio device. I should probably detect that though and turn it off.

endrift commented 8 years ago

That's odd, it looks like this should have been fixed back in February. I'll need to figure out why it thinks there is an audio device.