From d79f7e7e0fb8ced1feb2d1d3d46a53ae99ae9de1 Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Sat, 11 Mar 2023 22:48:33 +0800 Subject: [PATCH] log --- source/arm11/acl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ) {