From 359ed207fe812a08f12ad77d908f88856aa3de74 Mon Sep 17 00:00:00 2001 From: riccardom Date: Wed, 2 Sep 2009 18:43:08 +0000 Subject: [PATCH] Apply the same workaround applied to the gtk frontend by zeromus to make it not segfault. --- desmume/src/cli/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/desmume/src/cli/main.cpp b/desmume/src/cli/main.cpp index cefb165d9..bddf26f2b 100644 --- a/desmume/src/cli/main.cpp +++ b/desmume/src/cli/main.cpp @@ -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);