pea
developer
Hi all,
Currently trying to get libmikmod to work with Mr. Mirkos SDK, and am about 98% there. There are only three or four functions I need to replace, which relate to loading files off SMC, but as I don't really understand these functions, I thought I would ask:
This is Offical SDK
result = GpFileSeek(reader->file, FROM_CURRENT, 0, &new_offset);
1) What does 'seeking' a file do?
2) The 'value' of the seek is stored in new_offset, right?
This is Mr.Mirkos:
result = smc_fseek(reader->file, 0, SEEK_CUR);
3) Where is the 'value' of the seek stored here?
Currently trying to get libmikmod to work with Mr. Mirkos SDK, and am about 98% there. There are only three or four functions I need to replace, which relate to loading files off SMC, but as I don't really understand these functions, I thought I would ask:
This is Offical SDK
result = GpFileSeek(reader->file, FROM_CURRENT, 0, &new_offset);
1) What does 'seeking' a file do?
2) The 'value' of the seek is stored in new_offset, right?
This is Mr.Mirkos:
result = smc_fseek(reader->file, 0, SEEK_CUR);
3) Where is the 'value' of the seek stored here?