uri: Assign volume to compressed file handles

This commit is contained in:
mintsuki 2022-03-27 23:43:05 +02:00
parent c2a21f9b29
commit 6c7e5f87dd
1 changed files with 1 additions and 0 deletions

View File

@ -238,6 +238,7 @@ struct file_handle *uri_open(char *uri) {
if (tinf_gzip_uncompress(compressed_fd->fd, src, ret->size)) {
panic(true, "tinf error");
}
compressed_fd->vol = ret->vol;
fclose(ret);
compressed_fd->is_memfile = true;
ret = compressed_fd;