mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-24 12:01:53 +01:00
Break out of GBA database loop once ID is found
thx to stewartspicer
This commit is contained in:
parent
14cd4ec52a
commit
39f7a4a3c7
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user