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

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

View File

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