code to actually display the splash screen

This commit is contained in:
2019-12-06 20:57:44 -07:00
parent 6538ddeb53
commit 2663de9d42
3 changed files with 13 additions and 0 deletions

View File

@@ -84,6 +84,9 @@ HRESULT Fb_setup(void)
return hr;
}
/* display the splash screen */
memcpy(Fb_ptr, _binary_splash_bin_start, (size_t)(&_binary_splash_bin_size));
/* additional setup here */
return hr;
@@ -100,3 +103,8 @@ void Fb_cleanup(void)
close(fb_fd);
fb_fd = -1;
}
void Fb_clear(void)
{
memset(Fb_Ptr, 0, local_info.screenbytes);
}