mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
SDL UI, fix for CD LED display
This commit is contained in:
parent
c815b1bc59
commit
7a7265eea0
2 changed files with 6 additions and 3 deletions
|
@ -270,7 +270,7 @@ void plat_init(void)
|
|||
if (shadow_size < 320 * 480 * 2)
|
||||
shadow_size = 320 * 480 * 2;
|
||||
|
||||
shadow_fb = malloc(shadow_size);
|
||||
shadow_fb = calloc(1, shadow_size);
|
||||
g_menubg_ptr = calloc(1, shadow_size);
|
||||
if (shadow_fb == NULL || g_menubg_ptr == NULL) {
|
||||
fprintf(stderr, "OOM\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue