summaryrefslogtreecommitdiff
path: root/typearchive.cpp
diff options
context:
space:
mode:
authorRyan Snyder <ryan@vector35.com>2024-05-24 14:47:15 -0400
committerRyan Snyder <ryan@vector35.com>2024-05-24 17:14:46 -0400
commit56115aecf186bc720dae9a20cc4c6aef248ba07f (patch)
tree1754beaa4e8601be328de689c0f6dc9d05851b35 /typearchive.cpp
parent74920c190c5c6230833be6d50536119ce5e44c98 (diff)
platform: initial BNCustomPlatform support
Diffstat (limited to 'typearchive.cpp')
-rw-r--r--typearchive.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/typearchive.cpp b/typearchive.cpp
index 29dd0d6a..151564db 100644
--- a/typearchive.cpp
+++ b/typearchive.cpp
@@ -148,7 +148,7 @@ Ref<Platform> 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<std::string> TypeArchive::MergeSnapshots(
}
return resultCpp;
-} \ No newline at end of file
+}