[CHG] Code formatting

This commit is contained in:
Crayon2000 2010-01-04 21:43:12 +00:00
parent ef709a23b7
commit 03c4b47695
3 changed files with 10 additions and 11 deletions

View file

@ -30,13 +30,13 @@ static bool geckoinit = false;
* Initialize USB Gecko.
*/
bool GRRLIB_GeckoInit() {
u32 geckoattached = usb_isgeckoalive(EXI_CHANNEL_1);
if (geckoattached) {
usb_flush(EXI_CHANNEL_1);
geckoinit = true;
return true;
}
else return false;
u32 geckoattached = usb_isgeckoalive(EXI_CHANNEL_1);
if (geckoattached) {
usb_flush(EXI_CHANNEL_1);
geckoinit = true;
return true;
}
else return false;
}
/**
@ -48,7 +48,7 @@ void GRRLIB_GeckoPrintf (const char *text, ...) {
int size;
char tmp[1024];
if (!(geckoinit)) return;
if (!geckoinit) return;
va_list argp;
va_start(argp, text);

View file

@ -36,8 +36,8 @@ void GRRLIB_Screen2Texture (int posx, int posy, GRRLIB_texImg *tex, bool clear)
GX_CopyTex(tex->data, GX_FALSE);
GX_PixModeSync();
GRRLIB_FlushTex(tex);
if(clear)
GX_CopyDisp (xfb[!fb], GX_TRUE);
if(clear)
GX_CopyDisp(xfb[!fb], GX_TRUE);
}
}

View file

@ -33,7 +33,6 @@ static void DrawBitmap(FT_Bitmap *bitmap, int offset, int top, const u32 color)
/**
* Initialize FreeType library.
* @return int 0=OK; -1=Failed
* @see GRRLIB_ExitFreetype
*/
int GRRLIB_InitTTF () {
if (FT_Init_FreeType(&ftLibrary)) {