mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-06 13:54:09 +08:00
修正query_cheat_set数据不对的问题
This commit is contained in:
parent
a1d3751670
commit
ef0e33a397
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user