18 lines
314 B
C
18 lines
314 B
C
/*
|
|
* draw.c
|
|
* by Reisyukaku
|
|
*/
|
|
|
|
#include "draw.h"
|
|
#include "fs.h"
|
|
|
|
void clearScreen(void){
|
|
memset(fb->top_left, 0, 0x38400);
|
|
memset(fb->top_right, 0, 0x38400);
|
|
memset(fb->bottom, 0, 0x38400);
|
|
}
|
|
|
|
void loadSplash(void){
|
|
clearScreen();
|
|
fileRead(fb->top_left, "/rei/splash.bin", 0x46500);
|
|
} |