Adapting this code to read from a T archive (a PlayStation thing) the input FILE needs to be rewound to its first sector instead of the top of the file:
|
fseek(fSEQp, 0x14, SEEK_SET); |
|
} |
|
else |
|
{ |
|
fseek(fSEQp, 0x0F, SEEK_SET); |
seqStartOffset is already handy, maybe it should be added if appropriate?
|
seqStartOffset = (int) ftell(fSEQp); |
Adapting this code to read from a T archive (a PlayStation thing) the input FILE needs to be rewound to its first sector instead of the top of the file:
seq2mid/src/seq2mid/seq2mid.c
Lines 69 to 73 in c8597af
seqStartOffset is already handy, maybe it should be added if appropriate?
seq2mid/src/seq2mid/seq2mid.c
Line 50 in c8597af