mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-03 10:13:11 +00:00
Fix buffer overflow in dummy_pixels
Size needs to be 32 to allow for 4x4 at pitch 8
This commit is contained in:
parent
5b46de3b38
commit
9d9394662b
2
driver.c
2
driver.c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user