PSA: Fix for sound issues on mGBA

mGBA has reports of sound issues and degraded performance since 0.7.0:

So I tried compiling the RetroArch core for 0.6.3 and surprise: it fixed the sound problems I had with Megaman Battle Network, so I’m quite happy with it.

This is how you can build the RetroArch core:

$ git clone mgba
$ git fetch
$ git checkout 0.6.3
$ mkdir build
$ cd build
$ make

Then move it to your RetroArch cores directory:

$ cp  ~/.config/retroarch/cores/

As far as I can tell, the changes introduced in 0.7.0 were supposed to improve the accuracy on some Pokemon sounds so YMMV by downgrading to 0.6.3 depending on what games are you playing.

Edit: forgot to explain how to change tag


good job…

this did not work for me, when I run make, I do not get any resulting .so file, the only thing that is close is the correct named file but it has a weird longer extension and changing that to a .so and running it on the gameshell does not do anything

edit: I’m not aware of any other way to get the 0.6.3 version of the mgba .so - any help with this method is appreciated

To simply things, the following can be copied & pasted to your SSH connection:

git clone mgba
cd mgba
git fetch
git checkout 0.6.3
mkdir build
cd build

Now the final line is a bit dated… If you’ve updated to clockworkos_2.1 or later, enter the following to install the emulator:

cp  ~/apps/emulators/

the problem when I try to run this on my gameshell is I get this when calling cmake:
“-bash: cmake: command not found”
And when I installed CMake on my pc and went through the commands, I didn’t get a resulting .so file.
Am I supposed to be able to use the cmake command on the gameshell by default?
I’m running the 0.21 version of the OS.

run >
sudo apt-get install cmake

1 Like

got it working, thank you!