File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -204,26 +204,20 @@ static void waitForReload(void)
204204
205205 PAD_Init ();
206206
207- kprintf ("\n\n\tPress RESET (or Z on your GameCube Controller) to reload" );
208-
209- if (reload_timer > 0 ) {
210- kprintf ("\n\n\tReloading in %d seconds" , reload_timer /50 );
211- }
207+ kprintf ("\n\n\tPress RESET (or Z on your GameCube Controller) to reload\n\n" );
212208
213209 while ( 1 )
214210 {
215211 if (reload_timer > 0 ) {
216- kprintf ("\x1b[2K\tReloading in %d seconds" , reload_timer /50 );
217- kprintf ("\r\tReloading in %d seconds " , reload_timer /50 );
212+ kprintf ("\x1b[2K\r\tReloading in %d seconds" , reload_timer /50 );
218213 }
219214 PAD_ScanPads ();
220215
221216 int buttonsDown = PAD_ButtonsDown (0 );
222217
223- if ( (buttonsDown & PAD_TRIGGER_Z ) || SYS_ResetButtonDown () ||
224- reload_timer == 0 )
218+ if ( (buttonsDown & PAD_TRIGGER_Z ) || SYS_ResetButtonDown () || reload_timer == 0 )
225219 {
226- kprintf ("\n\n\ tReload\n\n\n" );
220+ kprintf ("\n\tReload\n\n\n" );
227221 _CPU_ISR_Disable (level );
228222 __reload ();
229223 }
You can’t perform that action at this time.
0 commit comments