OSDN Git Service

Sverker Wiberg <sverkerw@swipnet.se>
authorJaroslav Kysela <perex@perex.cz>
Thu, 14 Nov 2002 08:48:29 +0000 (08:48 +0000)
committerJaroslav Kysela <perex@perex.cz>
Thu, 14 Nov 2002 08:48:29 +0000 (08:48 +0000)
commit3c55dcabbf8d853b2bfcf184802c64889c0ca250
tree3c33b722515bb0cf97753993d812ffb2c923aa5d
parent6ebde1c926a7230b5786ee9f13e00ba07e5f8ea9
Sverker Wiberg <sverkerw@swipnet.se>

Opening the patch ROM on GusPnP always fails:

* iwffff_get_rom_header() gets the card directory wrong when opening
  the ROM file.

* iwffff_get_rom_header() forgets that the ROM header is padded to 512
  bytes length.

I also fixed some small stuff:

* Tried to improve snd_instr_iwffff_open_rom()'s doxygen comment. The
  commingling of file-system files (denoted by names) and ROM-embedded
  files (numbers) is somewhat confusing --- I'm still looking for the
  right words to explain it.

* Oh, and snd_instr_iwffff_open_rom() returns -EPERM for invalid
  bank/file values --- it means the wrong thing: ENOENT would be
  better.
src/instr/iwffff.c