Super Metroid Emulation Gone Wrong

I’m having trouble with an emulator.
Specifically this:

I’m on Manjaro with Gnome 40, I’m guessing this has something to do with Wayland. The same ROM and emulator works on my main desktop which is running X11.

Here are the rest of my logs:
Ubuntu Pastebin from the game
Ubuntu Pastebin lutris --submit-issue JSON report

I got the answer from Reddit. Turns out it was just some missing libraries.
The command pacman -F shows that I was missing

So I installed those and now it’s working!
Maybe these should be marked as dependencies in the install script or whatever?
Anyway, problem solved!