From 56115aecf186bc720dae9a20cc4c6aef248ba07f Mon Sep 17 00:00:00 2001 From: Ryan Snyder Date: Fri, 24 May 2024 14:47:15 -0400 Subject: platform: initial BNCustomPlatform support --- typearchive.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'typearchive.cpp') diff --git a/typearchive.cpp b/typearchive.cpp index 29dd0d6a..151564db 100644 --- a/typearchive.cpp +++ b/typearchive.cpp @@ -148,7 +148,7 @@ Ref TypeArchive::GetPlatform() const BNPlatform* platform = BNGetTypeArchivePlatform(m_object); if (!platform) return nullptr; - return new Platform(platform); + return new CorePlatform(platform); } @@ -632,4 +632,4 @@ std::optional TypeArchive::MergeSnapshots( } return resultCpp; -} \ No newline at end of file +} -- cgit v1.3.1