Removed unused field "m_szName". Added virtual destructor.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@617 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Maarten ter Huurne 2008-09-22 23:25:29 +00:00
parent 0ffc909969
commit bbf7377544
2 changed files with 7 additions and 5 deletions

View File

@ -29,9 +29,12 @@ extern u32 FAKE_ReadFifo32();
extern int FAKE_GetPosition(); extern int FAKE_GetPosition();
extern void FAKE_SkipFifo(u32 skip); extern void FAKE_SkipFifo(u32 skip);
IDataReader::~IDataReader()
{
}
CDataReader_Fifo::CDataReader_Fifo(void) CDataReader_Fifo::CDataReader_Fifo(void)
{ {
m_szName = "CDataReader_Fifo";
} }
u8 CDataReader_Fifo::Read8(void) u8 CDataReader_Fifo::Read8(void)
@ -68,7 +71,6 @@ CDataReader_Memory::CDataReader_Memory(u32 _uAddress) :
m_uReadAddress(_uAddress) m_uReadAddress(_uAddress)
{ {
//m_pMemory = g_VideoInitialize.pGetMemoryPointer(0x00); //m_pMemory = g_VideoInitialize.pGetMemoryPointer(0x00);
m_szName = "CDataReader_Memory";
} }
u32 CDataReader_Memory::GetReadAddress() u32 CDataReader_Memory::GetReadAddress()

View File

@ -25,7 +25,7 @@
class IDataReader class IDataReader
{ {
protected: protected:
const char *m_szName; virtual ~IDataReader();
public: public:
virtual void Skip(u32) = 0; virtual void Skip(u32) = 0;