diff options
author | germeier <germeier> | 2003-03-25 23:56:51 +0000 |
---|---|---|
committer | germeier <germeier> | 2003-03-25 23:56:51 +0000 |
commit | 3a22100bafaa80b126a460e761398c371c92d973 (patch) | |
tree | 0deb35ec52d8cc5eecab43581f690c3133da07ce /libmpio/mpio.c | |
parent | 59256336cfaaa7feec76f0c4235382fb91eed243 (diff) | |
download | mpiosh-3a22100bafaa80b126a460e761398c371c92d973.tar.gz mpiosh-3a22100bafaa80b126a460e761398c371c92d973.tar.bz2 mpiosh-3a22100bafaa80b126a460e761398c371c92d973.zip |
try to support changes in internal FAT structure on newer players.
Diffstat (limited to 'libmpio/mpio.c')
-rw-r--r-- | libmpio/mpio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmpio/mpio.c b/libmpio/mpio.c index 15b7e82..b112143 100644 --- a/libmpio/mpio.c +++ b/libmpio/mpio.c @@ -1,6 +1,6 @@ /* * - * $Id: mpio.c,v 1.44 2003/03/24 19:19:18 germeier Exp $ + * $Id: mpio.c,v 1.45 2003/03/25 23:56:52 germeier Exp $ * * Library for USB MPIO-* * @@ -683,6 +683,8 @@ mpio_file_put_real(mpio_t *m, mpio_mem_t mem, mpio_filename_t i_filename, f->i_index=mpio_fat_internal_find_fileindex(m); debugn(2, "fileindex: %02x\n", f->i_index); f->i_fat[0x01]= f->i_index; + if (m->model >= MPIO_MODEL_FD100) + f->i_fat[0x0e] = f->i_index; start = f->i_index; /* number of blocks needed for file */ |