mirror of
https://github.com/visualboyadvance-m/visualboyadvance-m
synced 2025-10-05 23:52:49 +02:00
Fix "index out of bounds" runtime error
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user