mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-04 07:41:58 +00:00
Removed unused readLine code from the MT-32 emu
svn-id: r34314
This commit is contained in:
parent
c3d7c908e8
commit
5c72c2fca7
@ -96,9 +96,6 @@ public:
|
|||||||
size_t read(void *in, size_t size) {
|
size_t read(void *in, size_t size) {
|
||||||
return _in.read(in, size);
|
return _in.read(in, size);
|
||||||
}
|
}
|
||||||
bool readLine(char *in, size_t size) {
|
|
||||||
return _in.readLine(in, size) != NULL;
|
|
||||||
}
|
|
||||||
bool readBit8u(MT32Emu::Bit8u *in) {
|
bool readBit8u(MT32Emu::Bit8u *in) {
|
||||||
byte b = _in.readByte();
|
byte b = _in.readByte();
|
||||||
if (_in.eof())
|
if (_in.eof())
|
||||||
|
@ -44,10 +44,6 @@ namespace MT32Emu {
|
|||||||
return fread(in, 1, size, fp);
|
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) {
|
bool ANSIFile::readBit8u(Bit8u *in) {
|
||||||
int c = fgetc(fp);
|
int c = fgetc(fp);
|
||||||
if (c == EOF)
|
if (c == EOF)
|
||||||
|
@ -35,7 +35,6 @@ public:
|
|||||||
virtual ~File() {}
|
virtual ~File() {}
|
||||||
virtual void close() = 0;
|
virtual void close() = 0;
|
||||||
virtual size_t read(void *in, size_t size) = 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 readBit8u(Bit8u *in) = 0;
|
||||||
virtual bool readBit16u(Bit16u *in);
|
virtual bool readBit16u(Bit16u *in);
|
||||||
virtual bool readBit32u(Bit32u *in);
|
virtual bool readBit32u(Bit32u *in);
|
||||||
@ -55,7 +54,6 @@ public:
|
|||||||
bool open(const char *filename, OpenMode mode);
|
bool open(const char *filename, OpenMode mode);
|
||||||
void close();
|
void close();
|
||||||
size_t read(void *in, size_t size);
|
size_t read(void *in, size_t size);
|
||||||
bool readLine(char *in, size_t size);
|
|
||||||
bool readBit8u(Bit8u *in);
|
bool readBit8u(Bit8u *in);
|
||||||
size_t write(const void *out, size_t size);
|
size_t write(const void *out, size_t size);
|
||||||
bool writeBit8u(Bit8u out);
|
bool writeBit8u(Bit8u out);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user