You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Black Screen when loading via desktop shortcut 0.10.1 #2781
If I try running a game via a desktop/steam shortcut with the "target" being "C:\Users\x\x\mGBA\mGBA.exe" "C:\Users\x\x\x\x\Game Title.gba" OR dragging and dropping the rom file onto mgba.exe, the game will start, audio will play, but the screen is entirely black.
Emulation > Reset does not fix it, but shutting down the rom and reloading it via File > Load Rom works.
This does not occur in 0.10.0, the version I was using previously, and just tested again.
It seems to only happen to gba games, as GB/GBC games did not have the issue (though they do load with a seemingly default mgba branded sgba border before loading the game and its border, which I havent seen up until now)
I can mostly corroborate this. The only way I can get it to display properly on OpenGL driver & renderer (windows) is by launching the .exe manually with both options already set to OGL; launching through a shortcut, game launcher (playnite), or rom via filetype association OR having either option set to anything else and switching either to OGL only displays a black screen. I don't get the same behavior as OP with shutting down and reloading the rom, it has to be a cold start of the .exe with OGL already set in order to get any visuals. Can investigate when the regression happened if requested.
I'll add an oddity to this; I am able to see .gbc and .gb files, but NOT .gba games, when launched through a short cut (In this case, through a Steam Shortcut). Like otherwise reported, the same games work when launched through 0.10.0. This issue also is in the latest development build.
I have a similar bug but the workaround recommended by zeinlikezane doesn't work for me. Opening .gba files at all results in a black screen, and I have to open mGBA the program on its own and then open a .gba file before I can begin the game.
Activity
TheGershon commentedon Jan 23, 2023
I can mostly corroborate this. The only way I can get it to display properly on OpenGL driver & renderer (windows) is by launching the .exe manually with both options already set to OGL; launching through a shortcut, game launcher (playnite), or rom via filetype association OR having either option set to anything else and switching either to OGL only displays a black screen. I don't get the same behavior as OP with shutting down and reloading the rom, it has to be a cold start of the .exe with OGL already set in order to get any visuals. Can investigate when the regression happened if requested.
endrift commentedon Jan 23, 2023
I'm pretty sure I can guess when the regression happened, so you don't need to poke at it. I just need to test it myself.
FurbyTime commentedon Feb 2, 2023
I'll add an oddity to this; I am able to see .gbc and .gb files, but NOT .gba games, when launched through a short cut (In this case, through a Steam Shortcut). Like otherwise reported, the same games work when launched through 0.10.0. This issue also is in the latest development build.
pkmnsnfrn commentedon Feb 4, 2023
I have a similar bug but the workaround recommended by zeinlikezane doesn't work for me. Opening .gba files at all results in a black screen, and I have to open mGBA the program on its own and then open a .gba file before I can begin the game.
https://i.imgur.com/haMJmSQ.gif
Qt: Fix black screen when starting with a game (fixes #2781)
Qt: Fix black screen when starting with a game (fixes mgba-emu#2781)