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
weird fact: m night shyamalam, creator of the sixth sense and that live action avatar movie that was total ass, also wrote the screenplay for stuart little