fix some issues with menu bg

This commit is contained in:
notaz 2018-01-28 19:59:58 +02:00
parent 0a0073dc9f
commit 2d2e57b2cf
3 changed files with 5 additions and 4 deletions

View file

@ -273,7 +273,7 @@ void plat_init(void)
shadow_size = 320 * 480 * 2;
shadow_fb = malloc(shadow_size);
g_menubg_ptr = malloc(shadow_size);
g_menubg_ptr = calloc(1, shadow_size);
if (shadow_fb == NULL || g_menubg_ptr == NULL) {
fprintf(stderr, "OOM\n");
exit(1);