19 lines
866 B
C
19 lines
866 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ML_clear_vram.c */
|
|
/* | Project : libmonochrome */
|
|
/* */
|
|
/* By: Pierre "PierrotLL" Le Gall <legallpierre89@gmail.com> */
|
|
/* Last updated: 2011/11/22 */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include <monochrome/internals.h>
|
|
|
|
void ML_clear_vram()
|
|
{
|
|
int *vram = ML_vram_address();
|
|
for (int i = 0; i < 256; i++)
|
|
*vram = 0;
|
|
}
|