This repository has been archived on 2022-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Luma3DS-3GX/source/draw.c
2015-08-14 22:47:21 -04:00

19 lines
357 B
C

/*
* draw.c
* by Reisyukaku
* Copyright (c) 2015 All Rights Reserved
*/
#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);
}