libtonc
tonc_video.c File Reference
#include "tonc_memmap.h"
#include "tonc_core.h"
#include "tonc_video.h"

Functions

COLORvid_flip (void)
 Flip the display page.
 

Detailed Description

Author
J Vijn
Date
20060604 - 20070805

Function Documentation

◆ vid_flip()

COLOR * vid_flip ( void  )

Flip the display page.

Toggles the display page in REG_DISPCNT and sets vid_page to point to the back buffer.

Returns
Current back buffer pointer.

References DCNT_PAGE, REG_DISPCNT, and VRAM_PAGE_SIZE.