Skip to content
Permalink
Browse files

Fix "index out of bounds" runtime error

  • Loading branch information
retro-wertz
retro-wertz committed Aug 12, 2019
1 parent 36f3a73 commit ad43b32bdd9b52f9fd817ab2e1bb79d6abe1b222
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/libretro/libretro.cpp
@@ -780,7 +780,7 @@ static void load_image_preferences(void)

bool found = false;
bool hasRumble = false;
char buffer[12];
char buffer[12 + 1];
unsigned i = 0, found_no = 0;
unsigned long romCrc32 = crc32(0, rom, romSize);

0 comments on commit ad43b32

Please sign in to comment.
You can’t perform that action at this time.