mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-06 13:54:09 +08:00
log
This commit is contained in:
parent
e40a728a4b
commit
0d33263e15
@ -172,8 +172,9 @@ static int32_t bin_search( FHandle fd, acl_text_t game )
|
||||
start = mid + 1;
|
||||
}
|
||||
else end = mid - 1;
|
||||
}log("1");
|
||||
free( serials );log("2");
|
||||
}log("before free");
|
||||
free( serials );
|
||||
log("after free");
|
||||
|
||||
return found < 0 ? -ACHTLIB_NOT_FOUND : found;
|
||||
}
|
||||
@ -195,10 +196,10 @@ acl_error_t acl_select_game( acl_text_t game, acl_boolean_t filter, acl_count_t
|
||||
fClose( fd );
|
||||
return index * -1;
|
||||
}
|
||||
log("3");
|
||||
|
||||
uint32_t offset = ACL_HEADER_LEN + ACL_SERIAL_LEN(inst->serc);
|
||||
offset += ACL_INDEX_OFFSET(index);
|
||||
log("4");
|
||||
|
||||
uint32_t readed;
|
||||
uint16_t groups[2];
|
||||
if( RES_OK != fLseek(fd, offset) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user