diff --git a/Source/Core/Common/ChunkFile.h b/Source/Core/Common/ChunkFile.h index f44f08d279..a9737c1e0e 100644 --- a/Source/Core/Common/ChunkFile.h +++ b/Source/Core/Common/ChunkFile.h @@ -300,6 +300,13 @@ public: } } + void DoPointer(void*& x, void* const base) + { + auto* ptr = static_cast(x); + DoPointer(ptr, static_cast(base)); + x = ptr; + } + void DoMarker(const std::string& prevName, u32 arbitraryNumber = 0x42) { u32 cookie = arbitraryNumber;