Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
dborth committed Nov 17, 2010
1 parent fcc228a commit eb0f87f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions SDL/src/video/wii/SDL_wiivideo.c
Original file line number Diff line number Diff line change
Expand Up @@ -798,8 +798,12 @@ WII_InitVideoSystem()
VIDEO_Configure(vmode);

// Allocate the video buffers
xfb[0] = (u32 *) MEM_K0_TO_K1 (SYS_AllocateFramebuffer (vmode));
xfb[1] = (u32 *) MEM_K0_TO_K1 (SYS_AllocateFramebuffer (vmode));
xfb[0] = (u32 *) SYS_AllocateFramebuffer (vmode);
xfb[1] = (u32 *) SYS_AllocateFramebuffer (vmode);
DCInvalidateRange(xfb[0], VIDEO_GetFrameBufferSize(vmode));
DCInvalidateRange(xfb[1], VIDEO_GetFrameBufferSize(vmode));
xfb[0] = (u32 *) MEM_K0_TO_K1 (xfb[0]);
xfb[1] = (u32 *) MEM_K0_TO_K1 (xfb[1]);

VIDEO_ClearFrameBuffer(vmode, xfb[0], COLOR_BLACK);
VIDEO_ClearFrameBuffer(vmode, xfb[1], COLOR_BLACK);
Expand Down

0 comments on commit eb0f87f

Please sign in to comment.