From 5de48cd93cee5c310192c596617df1df811a6357 Mon Sep 17 00:00:00 2001 From: anod <182859762@qq.com> Date: Thu, 19 Jan 2023 00:34:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E7=A9=BA=E7=99=BD=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/arm11/filebrowser.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/arm11/filebrowser.c b/source/arm11/filebrowser.c index 17dcc4a..4ddc2a8 100644 --- a/source/arm11/filebrowser.c +++ b/source/arm11/filebrowser.c @@ -230,7 +230,13 @@ atp_error_t help_page( atp_text_t *wording, atp_counter_t length ) return res; } -atp_error_t select_region( atp_callerdata_t data, atp_counter_t index, atp_itemcfg_t *config ) +static atp_error_t disp_str( atp_callerdata_t data, atp_counter_t index, atp_linecfg_t *cfg ) +{ + cfg->text = (atp_text_t)data; + return ATP_SUCCESS; +} + +static atp_error_t select_region( atp_callerdata_t data, atp_counter_t index, atp_itemcfg_t *config ) { static char text[16]; acl_chtid_t sid; @@ -318,6 +324,7 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a return WAIT_ON_ERRPAGE( display_noserial ); } else RECOVER_PATH; + atp_show(1, disp_str, serial); acl_count_t len; if( ACHTLIB_SUCCESS != acl_open_lib( "gba.acl" ) )