From ef216d30105398385f068a89bb4ab276c53caac6 Mon Sep 17 00:00:00 2001 From: Tatsuya79 Date: Mon, 16 Sep 2019 16:27:34 +0200 Subject: [PATCH] fix gong crash --- 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 07ff168050..56e74f5208 100644 --- a/cores/libretro-gong/gong.c +++ b/cores/libretro-gong/gong.c @@ -386,7 +386,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;