This commit is contained in:
anod 2023-03-11 22:30:47 +08:00
parent 3e9c21b605
commit dcffa0940a

View File

@ -183,7 +183,7 @@ acl_error_t acl_select_game( acl_text_t game, acl_boolean_t filter, acl_count_t
CheatLib *inst = (CheatLib*)&gblcht;
FHandle fd;
if( inst->serc == 0 ) return ACHTLIB_NOT_OPEN;
if( strlen(game) != ACL_GBA_CODELEN ) return ACHTLIB_NOT_FOUND;
if( strlen(game) != ACL_GBA_CODELEN ) return ACHTLIB_NOT_FOUND;log("open fild");
if( RES_OK != fOpen(&fd, inst->aclfile, FA_OPEN_EXISTING | FA_READ) )
return ACHTLIB_INVALID;
log("search");