Hello!
Tryed to wrote simple proggy which load files into cd to memory array, but got problems.
here is the cut from it, which crash the ssf emu (and without GFS_Open/Close it works fine - but seems, that it really didn do anything with readme.txt, which i included on cd, fid still always the same even if i use wrong file name - "eadmi.txt" for example):
fid = GFS_NameToId("readme.txt");
gfs = GFS_Open(fid);
GFS_Close(gfs);
while(1){
slSynch();
}
What's wrong? Can somebody provide me with simple example on how to load file (says, file.bin) from cd into any memory array - says, unsigned char VMEM[[0x8000]. (we need to use gfs_nametoid, gfs_open, gfs_fread??)
Thank you.