diff --git a/installer/source/menu.cpp b/installer/source/menu.cpp index 537f68e..088164f 100644 --- a/installer/source/menu.cpp +++ b/installer/source/menu.cpp @@ -19,6 +19,18 @@ int startpos_x = 6; int startpos_y = 12; int menu_main_choice; +void Pad_unpressed( void ) +{ + while(1) + { + PAD_ScanPads(); + u32 PAD_Unpressed = PAD_ButtonsUp(0); + if ( PAD_Unpressed ) + break; + } + return; +} + void show_menu_head() { Con_FgColor(6, 1); @@ -150,6 +162,9 @@ int menu_main(int scrollpos) scrollpos++; scroll = true; + + if( PAD_ButtonsDown(0) ) + Pad_unpressed(); } else if((WPAD_ButtonsDown(0) & (WPAD_BUTTON_UP | WPAD_CLASSIC_BUTTON_UP) || (PAD_ButtonsDown(0) & PAD_BUTTON_UP)) && scrollpos != 0) @@ -159,6 +174,9 @@ int menu_main(int scrollpos) scrollpos--; scroll = true; + + if( PAD_ButtonsDown(0) ) + Pad_unpressed(); } if(scroll) @@ -226,12 +244,18 @@ int menu_install_uninstall(int install) { scrollpos++; scroll = true; + + if( PAD_ButtonsDown(0) ) + Pad_unpressed(); } else if((WPAD_ButtonsDown(0) & (WPAD_BUTTON_UP | WPAD_CLASSIC_BUTTON_UP) || (PAD_ButtonsDown(0) & PAD_BUTTON_UP)) && scrollpos != 0) { scrollpos--; scroll = true; + + if( PAD_ButtonsDown(0) ) + Pad_unpressed(); } if(scroll) diff --git a/installer/wad/0001000154484246.tmd b/installer/wad/0001000154484246.tmd index 894dec5..672bdb7 100644 Binary files a/installer/wad/0001000154484246.tmd and b/installer/wad/0001000154484246.tmd differ diff --git a/updates b/updates index 252b832..c502538 100644 --- a/updates +++ b/updates @@ -7,7 +7,9 @@ - BUGFIX: installer no longer crashes on IOS58 due to early controller initialization (only happened under certain circumstances) +- BUGFIX: compiled with libpng to fix a problem in PNG handling - installer now supports Classic-Controller +- installer now supports GameCube-Controller //rev37: - improved update-mechanism: