diff --git a/Source/Plugins/Plugin_VideoOGL/Src/DataReader.cpp b/Source/Plugins/Plugin_VideoOGL/Src/DataReader.cpp index d1a4b9788e..e74e0f4c56 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/DataReader.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/DataReader.cpp @@ -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() diff --git a/Source/Plugins/Plugin_VideoOGL/Src/DataReader.h b/Source/Plugins/Plugin_VideoOGL/Src/DataReader.h index 3667a6b17e..dbd955f42a 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/DataReader.h +++ b/Source/Plugins/Plugin_VideoOGL/Src/DataReader.h @@ -23,9 +23,9 @@ // ================================================================================================= class IDataReader -{ -protected: - const char *m_szName; +{ +protected: + virtual ~IDataReader(); public: virtual void Skip(u32) = 0;