minor code cleanup

This commit is contained in:
Christopher Roy Bratusek 2016-08-14 21:54:57 +02:00
parent 6f4d4d5269
commit db4c3b4e55
3 changed files with 6 additions and 3 deletions

View File

@ -92,6 +92,7 @@ loaderPrompt()
}
#endif
bool have_segui;
have_segui = false;
if( ! seguicheck )
{
seguicheck = 1;

View File

@ -30,7 +30,9 @@
static const DISC_INTERFACE* sd = &__io_wiisd;
static const DISC_INTERFACE* usb = &__io_usbstorage;
#ifndef VWII
static const DISC_INTERFACE* dvd = &__io_wiidvd;
#endif
enum
{
@ -533,7 +535,6 @@ static bool MountPartitions(int device)
case DEVICE_USB:
disc = usb;
break;
break;
default:
return false; // unknown device
}

View File

@ -1,3 +1,6 @@
#ifndef VWII
#ifndef NO_DEBUG
#include <gccore.h>
#include <stdio.h>
#include <string.h>
@ -8,8 +11,6 @@
/* init-globals */
static bool geckoinit = false;
#ifndef VWII
#ifndef NO_DEBUG
#include <stdarg.h>
void gprintf(const char *format, ...)