From 461741e0ea1db4e66ed79af0552e14e51c35cca4 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Mon, 30 Mar 2026 10:58:31 -0500 Subject: [PATCH] ChunkFile: Add void* version of DoPointer. --- Source/Core/Common/ChunkFile.h | 7 +++++++ 1 file changed, 7 insertions(+) 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;