code to actually display the splash screen
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user