diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index d7c31d5ce4..aac64cdcf3 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -248,17 +248,3 @@ void VertexManager::DoState(PointerWrap& p) { g_vertex_manager->vDoState(p); } - -void VertexManager::DoStateShared(PointerWrap& p) -{ - // It seems we half-assume to be flushed here - // We update s_pCurBufferPointer yet don't worry about IndexGenerator's outdated pointers - // and maybe other things are overlooked - - p.Do(LocalVBuffer); - p.Do(LocalIBuffer); - - s_pBaseBufferPointer = &LocalVBuffer[0]; - s_pEndBufferPointer = s_pBaseBufferPointer + LocalVBuffer.size(); - p.DoPointer(s_pCurBufferPointer, s_pBaseBufferPointer); -} diff --git a/Source/Core/VideoCommon/VertexManagerBase.h b/Source/Core/VideoCommon/VertexManagerBase.h index a0867aabed..1540da7f88 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.h +++ b/Source/Core/VideoCommon/VertexManagerBase.h @@ -54,8 +54,7 @@ protected: u16* GetIndexBuffer() { return &LocalIBuffer[0]; } u8* GetVertexBuffer() { return &s_pBaseBufferPointer[0]; } - virtual void vDoState(PointerWrap& p) { DoStateShared(p); } - void DoStateShared(PointerWrap& p); + virtual void vDoState(PointerWrap& p) { } static PrimitiveType current_primitive_type;