LIBWiiGUI Unload October 25, 2009 10:52PM | Registered: 14 years ago Posts: 191 |
int i; for(i = 0; i < 255; i += 15) { mainWindow->Draw(); Menu_DrawRectangle(0,0,screenwidth,screenheight,(GXColor){0, 0, 0, i},1); Menu_Render(); } bgMusic->Stop(); HaltGui(); mainWindow->Remove(&w); HaltGui(); bgMusic->Stop(); delete bgMusic; delete bgImg; delete mainWindow; delete pointer[0]; delete pointer[1]; delete pointer[2]; delete pointer[3]; printf("\t\nLaunching Game...\n");//Just to test GUI unload... boot_game();All it does it start the DVD Drive,Shows Launching Game... And turns into a fuzzed out green. (FROZEN)
Re: LIBWiiGUI Unload October 25, 2009 11:50PM | Registered: 14 years ago Posts: 234 |
ExitGUIThreads(); while(ExitRequested != 2) usleep(THREAD_SLEEP);right before stopping the bg music
Re: LIBWiiGUI Unload October 26, 2009 12:00AM | Registered: 14 years ago Posts: 191 |
c:/devkitPro/examples/OLD/DvD_Loader_GX/source/menu.cpp: In function 'int MenuSettings()': c:/devkitPro/examples/OLD/DvD_Loader_GX/source/menu.cpp:629: error: 'ExitGUIThreads' was not declared in this scope
Re: LIBWiiGUI Unload October 26, 2009 12:52AM | Registered: 14 years ago Posts: 234 |