Apply the same workaround applied to the gtk frontend by zeromus to make it not segfault.
This commit is contained in:
parent
df5bf19909
commit
359ed207fe
|
@ -947,6 +947,7 @@ int main(int argc, char ** argv) {
|
||||||
|
|
||||||
Desmume_InitOnce();
|
Desmume_InitOnce();
|
||||||
Hud.reset();
|
Hud.reset();
|
||||||
|
aggDraw.hud->attach(GPU_screen, 256, 384, 512);
|
||||||
|
|
||||||
while(!sdl_quit) {
|
while(!sdl_quit) {
|
||||||
desmume_cycle(&sdl_quit, &boost, &my_config);
|
desmume_cycle(&sdl_quit, &boost, &my_config);
|
||||||
|
|
Loading…
Reference in New Issue