diff --git a/fw/application/src/app/amiibo/scene/amiibo_scene_amiibo_detail.c b/fw/application/src/app/amiibo/scene/amiibo_scene_amiibo_detail.c index ef8b09b3..2267ade1 100644 --- a/fw/application/src/app/amiibo/scene/amiibo_scene_amiibo_detail.c +++ b/fw/application/src/app/amiibo/scene/amiibo_scene_amiibo_detail.c @@ -187,7 +187,7 @@ static void amiibo_scene_amiibo_detail_reload_files(app_amiibo_t *app) { vfs_meta_t meta; memset(&meta, 0, sizeof(vfs_meta_t)); vfs_meta_decode(obj.meta, sizeof(obj.meta), &meta); - if (obj.type == VFS_TYPE_REG && (obj.size == NTAG_DATA_SIZE || obj.size == 532 || obj.size == 572) && + if (obj.type == VFS_TYPE_REG && (obj.size == NTAG_DATA_SIZE || obj.size == NTAG_TAGMO_DATA_SIZE || obj.size == NTAG_THENAYA_DATA_SIZE) && (!meta.has_flags || !(meta.flags & VFS_OBJ_FLAG_HIDDEN))) { string_set_str(file_name, obj.name); string_array_push_back(app->amiibo_files, file_name); @@ -254,4 +254,4 @@ void amiibo_scene_amiibo_detail_on_exit(void *user_data) { app_amiibo_t *app = user_data; ntag_emu_set_update_cb(NULL, NULL); app_timer_stop(m_amiibo_gen_delay_timer); -} \ No newline at end of file +}