diff options
author | Max Horn | 2008-09-03 17:46:42 +0000 |
---|---|---|
committer | Max Horn | 2008-09-03 17:46:42 +0000 |
commit | 5c72c2fca76d33633a91c7a4ea19886323f8694c (patch) | |
tree | 3d8ffa3918c1b9aae13cb90ca852b563f5626e6f /sound | |
parent | c3d7c908e8542ad2934d9cba0660a69aa00b2a01 (diff) | |
download | scummvm-rg350-5c72c2fca76d33633a91c7a4ea19886323f8694c.tar.gz scummvm-rg350-5c72c2fca76d33633a91c7a4ea19886323f8694c.tar.bz2 scummvm-rg350-5c72c2fca76d33633a91c7a4ea19886323f8694c.zip |
Removed unused readLine code from the MT-32 emu
svn-id: r34314
Diffstat (limited to 'sound')
-rw-r--r-- | sound/softsynth/mt32.cpp | 3 | ||||
-rw-r--r-- | sound/softsynth/mt32/mt32_file.cpp | 4 | ||||
-rw-r--r-- | sound/softsynth/mt32/mt32_file.h | 2 |
3 files changed, 0 insertions, 9 deletions
diff --git a/sound/softsynth/mt32.cpp b/sound/softsynth/mt32.cpp index 360ef4539d..a52401bef1 100644 --- a/sound/softsynth/mt32.cpp +++ b/sound/softsynth/mt32.cpp @@ -96,9 +96,6 @@ public: size_t read(void *in, size_t size) { return _in.read(in, size); } - bool readLine(char *in, size_t size) { - return _in.readLine(in, size) != NULL; - } bool readBit8u(MT32Emu::Bit8u *in) { byte b = _in.readByte(); if (_in.eof()) diff --git a/sound/softsynth/mt32/mt32_file.cpp b/sound/softsynth/mt32/mt32_file.cpp index 86cb29fd49..f4eba73d33 100644 --- a/sound/softsynth/mt32/mt32_file.cpp +++ b/sound/softsynth/mt32/mt32_file.cpp @@ -44,10 +44,6 @@ namespace MT32Emu { return fread(in, 1, size, fp); } - bool ANSIFile::readLine(char *in, size_t size) { - return fgets(in, (int)size, fp) != NULL; - } - bool ANSIFile::readBit8u(Bit8u *in) { int c = fgetc(fp); if (c == EOF) diff --git a/sound/softsynth/mt32/mt32_file.h b/sound/softsynth/mt32/mt32_file.h index 5f05c9e9ae..27c8ccbe46 100644 --- a/sound/softsynth/mt32/mt32_file.h +++ b/sound/softsynth/mt32/mt32_file.h @@ -35,7 +35,6 @@ public: virtual ~File() {} virtual void close() = 0; virtual size_t read(void *in, size_t size) = 0; - virtual bool readLine(char *in, size_t size) = 0; virtual bool readBit8u(Bit8u *in) = 0; virtual bool readBit16u(Bit16u *in); virtual bool readBit32u(Bit32u *in); @@ -55,7 +54,6 @@ public: bool open(const char *filename, OpenMode mode); void close(); size_t read(void *in, size_t size); - bool readLine(char *in, size_t size); bool readBit8u(Bit8u *in); size_t write(const void *out, size_t size); bool writeBit8u(Bit8u out); |