[CHG] Code formatting, not that much ;)

This commit is contained in:
Crayon2000 2009-08-19 23:13:44 +00:00
parent adb741ccf6
commit a1d7b870cd
2 changed files with 5 additions and 3 deletions

View file

@ -74,7 +74,7 @@ void GRRLIB_Init (void) {
VIDEO_WaitVSync(); VIDEO_WaitVSync();
if (rmode->viTVMode & VI_NON_INTERLACE) { if (rmode->viTVMode & VI_NON_INTERLACE) {
VIDEO_WaitVSync(); VIDEO_WaitVSync();
} }
gp_fifo = (u8 *) memalign(32, DEFAULT_FIFO_SIZE); gp_fifo = (u8 *) memalign(32, DEFAULT_FIFO_SIZE);
if (gp_fifo == NULL) if (gp_fifo == NULL)

View file

@ -45,7 +45,8 @@ void GRRLIB_Plot (const f32 x, const f32 y, const u32 color) {
GX_Begin(GX_POINTS, GX_VTXFMT0, 1); GX_Begin(GX_POINTS, GX_VTXFMT0, 1);
GX_Position3f32(x, y, 0); GX_Position3f32(x, y, 0);
GX_Color1u32(color); GX_Color1u32(color);
GX_End();} GX_End();
}
/** /**
* Draw a line. * Draw a line.
@ -64,7 +65,8 @@ void GRRLIB_Line (const f32 x1, const f32 y1,
GX_Color1u32(color); GX_Color1u32(color);
GX_Position3f32(x2, y2, 0); GX_Position3f32(x2, y2, 0);
GX_Color1u32(color); GX_Color1u32(color);
GX_End();} GX_End();
}
/** /**
* Draw a rectangle. * Draw a rectangle.