Apply the same workaround applied to the gtk frontend by zeromus to make it not segfault.

This commit is contained in:
riccardom 2009-09-02 18:43:08 +00:00
parent df5bf19909
commit 359ed207fe
1 changed files with 1 additions and 0 deletions

View File

@ -947,6 +947,7 @@ int main(int argc, char ** argv) {
Desmume_InitOnce();
Hud.reset();
aggDraw.hud->attach(GPU_screen, 256, 384, 512);
while(!sdl_quit) {
desmume_cycle(&sdl_quit, &boost, &my_config);