main.cpp
void Idle(SceCtrlData *pad)
{
	while(true)
	{
		RedrawStatus();
		if(WaitForButtonTimeout(pad, 60)) break; //Stop looping when a button is pressed
	}
}
/* Waits for a button to be pressed, updating the time/battery display and CPU
 * speed.
 * Inputs:
 * -pad: Button status to fill in.
 */
Waits for a button to be pressed, updating the time/battery display and CPU
speed.
Inputs:
-pad: Button status to fill in.
Waits for a button to be pressed updating the time / battery display and CPU speed . Inputs : - pad : Button status to fill in .
void Idle(SceCtrlData *pad)
{
	while(true)
	{
		RedrawStatus();
		if(WaitForButtonTimeout(pad, 60)) break; 
	}
}
void Idle ( SceCtrlData * pad ) { while ( true ) { RedrawStatus ( ) ; if ( WaitForButtonTimeout ( pad , 60 ) ) break ; } }
Waits for a button to be pressed, updating the time/battery display and CPU
 speed.
Waits for a button to be pressed updating the time / battery display and CPU speed .
//Stop looping when a button is pressed