diff --git a/filesel/filesystem-rpg.c b/filesel/filesystem-rpg.c index 1d9a9be4..557f213f 100644 --- a/filesel/filesystem-rpg.c +++ b/filesel/filesystem-rpg.c @@ -609,11 +609,10 @@ static int rpg_dir_readdir_iterate (ocpdirhandle_pt _self) self->dir->owner->archive_filehandle->seek_set (self->dir->owner->archive_filehandle, self->nextheader_offset); if (self->dir->owner->archive_filehandle->read (self->dir->owner->archive_filehandle, header, sizeof (header)) < 6) { -finished: const char *filename; uint8_t *metadata = 0; size_t metadatasize = 0; - +finished: self->dir->owner->ready = 1; rpg_instance_encode_blob (self->dir->owner, &metadata, &metadatasize); if (metadata)