mirror of
https://github.com/neon443/ColourCam3DS.git
synced 2026-03-11 05:19:13 +00:00
Merge branch 'main' of https://github.com/neon443/colourcam3ds
This commit is contained in:
@@ -8,6 +8,20 @@
|
||||
#define screenSize width * height * 2
|
||||
#define bufSize screenSize * 2
|
||||
|
||||
inline void clearScreen(void) {
|
||||
u8 *frame = gfxGetFramebuffer(GFX_BOTTOM, GFX_LEFT, NULL, NULL)
|
||||
memset(frame, 0, 320 * 240 * 3)
|
||||
}
|
||||
|
||||
void cleanup() {
|
||||
|
||||
}
|
||||
|
||||
void writePicToFBuff(void *fb, void *img, u16 x, u16 y, u16 width, u16 height) {
|
||||
u8 *fb_8 = (u8*) img
|
||||
u16 *img_16 = (u16*) img
|
||||
}
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
gfxInitDefault();
|
||||
|
||||
Reference in New Issue
Block a user