/* * Runs the application (main loop) */ void wii_handle_run() { WII_VideoStop(); // Show the menu (starts the menu loop) wii_menu_show(); }
void WiiMenu() { // wait for thread to finish while(!LWP_ThreadIsSuspended(keythread)) usleep(100); WII_VideoStop(); SwitchAudioMode(1); HomeMenu(); WII_VideoStart(); SwitchAudioMode(0); if(dosboxCommand[0] != 0) LWP_ResumeThread(keythread); }