Fix buffer overflow in dummy_pixels

Size needs to be 32 to allow for 4x4 at pitch 8
This commit is contained in:
Mike Robinson 2014-10-18 18:29:37 +01:00
parent 5b46de3b38
commit 9d9394662b

View File

@ -1118,7 +1118,7 @@ static void init_video_input(void)
const input_driver_t *tmp = NULL;
const struct retro_game_geometry *geom = NULL;
video_info_t video = {0};
static uint16_t dummy_pixels[16] = {0};
static uint16_t dummy_pixels[32] = {0};
init_video_filter(g_extern.system.pix_fmt);
rarch_main_command(RARCH_CMD_SHADER_DIR_INIT);