diff --git a/libpsx/src/libc.c b/libpsx/src/libc.c index 607d8b0..3baccf4 100644 --- a/libpsx/src/libc.c +++ b/libpsx/src/libc.c @@ -288,7 +288,6 @@ static size_t cdromread(void *restrict ptr, size_t sz, memcpy(ptr, &f->buf[first_sector_sz], firstsz); ptr = (char *)ptr + firstsz; f->pos += firstsz; - lseek(f->fildes, f->pos, SEEK_SET); f->cache_available = 0; readb += firstsz; read_complete_sector = 1;