Skip to content

Commit

Permalink
Merge pull request #74 from retro-wertz/update
Browse files Browse the repository at this point in the history
Fix "index out of bounds" runtime error
  • Loading branch information
hizzlekizzle committed Aug 12, 2019
2 parents 36f3a73 + ad43b32 commit d92ca68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libretro/libretro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit d92ca68

Please sign in to comment.