diff --git a/source/arm11/filebrowser.c b/source/arm11/filebrowser.c index 8276b91..104e808 100644 --- a/source/arm11/filebrowser.c +++ b/source/arm11/filebrowser.c @@ -290,10 +290,12 @@ static atp_pageopt_t serve_on_key( atp_callerdata_t data, atp_counter_t index, a if( pathlen + filelen > DIRBUFFSIZE - 1) { + fsQuickWrite("serial.txt", "00", 2); return WAIT_ON_ERRPAGE( display_toolong ); } else if( ENT_TYPE_DIR == dList->ptrs[index][0] ) { + fsQuickWrite("serial.txt", "11", 2); return WAIT_ON_ERRPAGE( display_empty ); }