mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-06 22:04:10 +08:00
调整导出修改后的rom的选项
This commit is contained in:
parent
648d092988
commit
62f2ba13ff
@ -282,11 +282,6 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a
|
|||||||
}
|
}
|
||||||
else if( y )
|
else if( y )
|
||||||
{
|
{
|
||||||
#ifndef NDEBUG
|
|
||||||
extern u8 dump_patched_rom;
|
|
||||||
dump_patched_rom = 0;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void* *dat = (void **)data;
|
void* *dat = (void **)data;
|
||||||
DirList const *dList = (DirList*)dat[0];
|
DirList const *dList = (DirList*)dat[0];
|
||||||
char *file = &dList->ptrs[index][1];
|
char *file = &dList->ptrs[index][1];
|
||||||
|
@ -223,7 +223,7 @@ static atp_error_t select_region( atp_callerdata_t, atp_counter_t index, atp_ite
|
|||||||
acl_chtid_t sid, id;
|
acl_chtid_t sid, id;
|
||||||
if( ACHTLIB_SUCCESS != acl_query_cheat_set(index, &sid, &sreg) )
|
if( ACHTLIB_SUCCESS != acl_query_cheat_set(index, &sid, &sreg) )
|
||||||
{
|
{
|
||||||
config->text = "无效数据";
|
config->text = "导出文件";
|
||||||
config->value = index;
|
config->value = index;
|
||||||
return ATP_SUCCESS;
|
return ATP_SUCCESS;
|
||||||
}
|
}
|
||||||
@ -443,10 +443,23 @@ atp_error_t use_cheat_page( const char *serial )
|
|||||||
{
|
{
|
||||||
if( status == DISP_REGION )
|
if( status == DISP_REGION )
|
||||||
{
|
{
|
||||||
|
#ifndef NDEBUG
|
||||||
res = atp_select("请谨慎使用金手指!金手指可能会引起卡顿、死机、损坏存档等现象。 "
|
res = atp_select("请谨慎使用金手指!金手指可能会引起卡顿、死机、损坏存档等现象。 "
|
||||||
"选择一个金手指配置:", len, select_region, NULL, NULL, defi, 0, &item );
|
"选择一个金手指配置:", len, select_region, NULL, NULL, defi, 0, &item );
|
||||||
|
#else
|
||||||
|
res = atp_select("请谨慎使用金手指!金手指可能会引起卡顿、死机、损坏存档等现象。 "
|
||||||
|
"选择一个金手指配置:", len+1, select_region, NULL, NULL, defi, 0, &item );
|
||||||
|
#endif
|
||||||
if( res == ATP_SUCCESS )
|
if( res == ATP_SUCCESS )
|
||||||
{
|
{
|
||||||
|
#ifndef NDEBUG
|
||||||
|
if( item == len )
|
||||||
|
{
|
||||||
|
extern u8 dump_patched_rom;
|
||||||
|
u8 dump_patched_rom = 1;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
defi = item;
|
defi = item;
|
||||||
acl_chtid_t sid;
|
acl_chtid_t sid;
|
||||||
acl_elemlen_t len;
|
acl_elemlen_t len;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user