mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-25 19:33:05 +00:00
videoctrl: Init palette to black.
This commit is contained in:
parent
a5241d27c1
commit
382246905b
@ -88,7 +88,7 @@ protected:
|
|||||||
float refresh_rate;
|
float refresh_rate;
|
||||||
bool draw_fb = true;
|
bool draw_fb = true;
|
||||||
|
|
||||||
uint32_t palette[256]; // internal DAC palette in RGBA format
|
uint32_t palette[256] = {0}; // internal DAC palette in RGBA format
|
||||||
|
|
||||||
// Framebuffer parameters
|
// Framebuffer parameters
|
||||||
uint8_t* fb_ptr = nullptr;
|
uint8_t* fb_ptr = nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user