diff options
| author | Ryan Snyder <ryan@vector35.com> | 2024-05-24 14:47:15 -0400 |
|---|---|---|
| committer | Ryan Snyder <ryan@vector35.com> | 2024-05-24 17:14:46 -0400 |
| commit | 56115aecf186bc720dae9a20cc4c6aef248ba07f (patch) | |
| tree | 1754beaa4e8601be328de689c0f6dc9d05851b35 /typearchive.cpp | |
| parent | 74920c190c5c6230833be6d50536119ce5e44c98 (diff) | |
platform: initial BNCustomPlatform support
Diffstat (limited to 'typearchive.cpp')
| -rw-r--r-- | typearchive.cpp | 4 |
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 +} |
