fix inverse conditional
This commit is contained in:
parent
3ca7abb1a8
commit
9e9a9b5201
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue