Merge pull request #74 from retro-wertz/update

Fix "index out of bounds" runtime error
This commit is contained in:
hizzlekizzle 2019-08-12 10:23:21 -05:00 committed by GitHub
commit d92ca688b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);