From f4346401e27f45468837ff1658c30017904f4758 Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Wed, 22 May 2019 01:00:23 -0400 Subject: [PATCH] gong: revert bad cleanup --- cores/libretro-gong/gong.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/libretro-gong/gong.c b/cores/libretro-gong/gong.c index 9d2b3c91b4..d1a481fa8f 100644 --- a/cores/libretro-gong/gong.c +++ b/cores/libretro-gong/gong.c @@ -387,7 +387,7 @@ void GONG_CORE_PREFIX(retro_init)(void) else GONG_CORE_PREFIX(log_cb) = NULL; - video_buf = (unsigned char*)calloc(1, WIDTH * HEIGHT * sizeof(unsigned char)); + video_buf = (unsigned char*)calloc(1, WIDTH * HEIGHT * sizeof(unsigned)); game_buffer.width = WIDTH; game_buffer.height = HEIGHT;