huiminghao said:files[rom] is a 'char *' and the first data indicates the type of the filename.Coto said:Hi avenir, I understood most of your code, however... why did you (4th line) add a +1 while reading a filename/file from memory??
Thx
line 226:
if(*files[rom]==1) { //directory
...
} else { //file
files[rom][1 ... n] is the filename. files[rom][0] is the type.
Ok I got it man, thanks again.
*files[rom][0] array returns a valid rom then?..













