From ef0e33a397fb6a4322c49a79a1d08bdc4042003e Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Thu, 19 Jan 2023 20:06:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3query=5Fcheat=5Fset=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=B8=8D=E5=AF=B9=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/arm11/acl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/arm11/acl.c b/source/arm11/acl.c index 87c5bf7..fb2aaf8 100644 --- a/source/arm11/acl.c +++ b/source/arm11/acl.c @@ -259,7 +259,7 @@ acl_error_t acl_select_game( acl_text_t game, acl_boolean_t filter, acl_count_t acl_error_t acl_query_cheat_set( acl_index_t index, acl_chtid_t *chtid, acl_region_t *region ) { CheatLib *inst = &gblcht; - if( chtid == NULL || region == NULL ) return ACHTLIB_SUCCESS; + if( chtid == NULL && region == NULL ) return ACHTLIB_SUCCESS; if( inst->serc == 0 ) return ACHTLIB_NOT_OPEN; if( inst->listc == 0 ) return ACHTLIB_INVALID;