gong: revert bad cleanup

This commit is contained in:
Brad Parker 2019-05-22 01:00:23 -04:00
parent 9bdacd868e
commit f4346401e2

View File

@ -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;