tidy up code, bump version

This commit is contained in:
dborth 2009-07-01 18:30:06 +00:00
parent 220ffff508
commit d4f4b6ce52
3 changed files with 5 additions and 18 deletions

View File

@ -1,4 +1,4 @@
#define VERSION "0.73.01" #define VERSION "0.73.02"
/* Define to 1 to enable internal debugger, requires libcurses */ /* Define to 1 to enable internal debugger, requires libcurses */
#define C_DEBUG 0 #define C_DEBUG 0

View File

@ -12,7 +12,8 @@
char appPath[1024]; char appPath[1024];
void WiiInit() { void WiiInit()
{
fatInitDefault(); fatInitDefault();
appPath[0] = 0; appPath[0] = 0;
} }
@ -37,20 +38,7 @@ void CreateAppPath(char origpath[])
sprintf(appPath, "sd:/%s", &(path[pos])); sprintf(appPath, "sd:/%s", &(path[pos]));
} }
bool WiiMessagePause(const char *s) { void WiiFinished()
if (s) printf(s); {
#ifdef HW_RVL
while (1) {
WPAD_ScanPads();
u16 buttonsDown = WPAD_ButtonsDown(0);
if( buttonsDown & WPAD_BUTTON_A ) return false;
if( buttonsDown & WPAD_BUTTON_HOME ) return true;
}
#else
return false;
#endif
}
void WiiFinished() {
} }

View File

@ -5,7 +5,6 @@
void WiiInit(); void WiiInit();
void CreateAppPath(char origpath[]); void CreateAppPath(char origpath[]);
void WiiFinished(); void WiiFinished();
bool WiiMessagePause(const char *s);
extern char appPath[1024]; extern char appPath[1024];