mirror of
https://github.com/libretro/RetroArch
synced 2025-03-05 01:14:31 +00:00
Merge pull request #1165 from mprobinson/dummy-pixels
Fix buffer overflow in dummy_pixels
This commit is contained in:
commit
4aaee9703d
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