Break out of GBA database loop once ID is found

thx to stewartspicer
This commit is contained in:
sanni 2022-07-07 23:55:33 +02:00
parent 14cd4ec52a
commit 39f7a4a3c7

View File

@ -828,6 +828,9 @@ void getCartInfo_GBA() {
// Read the next ascii character and subtract 48 to convert to decimal
saveType = myFile.read() - 48;
// End loop if ID was found
break;
}
// If no match, empty string, advance by 7 and try again
else {