There is a issue with dolphin emulator (v5.0-13014) with this game (Pokemon XD - Gale of Darkness) on android is when using the on-screen controls (analog stick) switches screen aspect ratio (4:3 to 16:9 and back again) is set to auto on OpenGL and Vulkan video backends (the CPU is a Snapdragon...
the game works from the sd card running luma3ds but when I use the Pokemon Omega Ruby game card it error on me every time I load the Pokemon Omega Ruby game card but Pokemon X,Y and Moon all work from the game card.
UPDATE. its a faulty game card but I backup my save
@K3Nv2 I got some cheapies at wallys, that are pretty good, already have lost a few expensive ones (one falls out and gone, can't find) while cutting grass so bought some cheap ones, and of course never lose these cheap ones. (Cheap meaning only $35, compared to air buds which I only have 1 of 2 now)