From a1d7b870cd6ae5f2e64c48266a0981b4054f2b74 Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Wed, 19 Aug 2009 23:13:44 +0000 Subject: [PATCH] [CHG] Code formatting, not that much ;) --- GRRLIB/GRRLIB/GRRLIB_core.c | 2 +- GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/GRRLIB/GRRLIB/GRRLIB_core.c b/GRRLIB/GRRLIB/GRRLIB_core.c index e8e867e..bdeb045 100644 --- a/GRRLIB/GRRLIB/GRRLIB_core.c +++ b/GRRLIB/GRRLIB/GRRLIB_core.c @@ -74,7 +74,7 @@ void GRRLIB_Init (void) { VIDEO_WaitVSync(); if (rmode->viTVMode & VI_NON_INTERLACE) { VIDEO_WaitVSync(); - } + } gp_fifo = (u8 *) memalign(32, DEFAULT_FIFO_SIZE); if (gp_fifo == NULL) diff --git a/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h b/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h index 00b6c5c..e5a1db9 100644 --- a/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h +++ b/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h @@ -45,7 +45,8 @@ void GRRLIB_Plot (const f32 x, const f32 y, const u32 color) { GX_Begin(GX_POINTS, GX_VTXFMT0, 1); GX_Position3f32(x, y, 0); GX_Color1u32(color); - GX_End();} + GX_End(); +} /** * Draw a line. @@ -64,7 +65,8 @@ void GRRLIB_Line (const f32 x1, const f32 y1, GX_Color1u32(color); GX_Position3f32(x2, y2, 0); GX_Color1u32(color); - GX_End();} + GX_End(); +} /** * Draw a rectangle.