fix inverse conditional

This commit is contained in:
Matteias Collet 2022-11-27 04:04:42 +00:00 committed by GitHub
parent 3ca7abb1a8
commit 9e9a9b5201
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ bool loadCard(TCardManager *cm, CARDFileInfo *fileInfo, char *fileName, u32 *dst
return -1;
// Read codes into destination address
if (CARDRead(fileInfo, dst, fileInfo->length, 0))
if (!CARDRead(fileInfo, dst, fileInfo->length, 0))
return -1;
// Done