diff --git a/source/arm11/acl.c b/source/arm11/acl.c index 0254448..81f5115 100644 --- a/source/arm11/acl.c +++ b/source/arm11/acl.c @@ -1,4 +1,5 @@ #include "arm11/acl.h" +#include "arm11/fmt.h" #include "fs.h" #include @@ -183,10 +184,10 @@ 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;log(inst->aclfile); + if( strlen(game) != ACL_GBA_CODELEN ) return ACHTLIB_NOT_FOUND; if( RES_OK != fOpen(&fd, inst->aclfile, FA_OPEN_EXISTING | FA_READ) ) return ACHTLIB_INVALID; -log("search"); +ee_printf("\x1b[2Jsearch\n"); int32_t index = bin_search( fd, game ); if( index < 0 ) {