Skip to content

Commit

Permalink
update SFSE plugin version compatibility definition for 1.8.86 struct…
Browse files Browse the repository at this point in the history
… break
  • Loading branch information
ianpatt committed Nov 23, 2023
1 parent 60801f3 commit feb5930
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CommonLibSF/include/SFSE/Interfaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,13 @@ namespace SFSE

constexpr void UsesSigScanning(const bool a_value) noexcept { SetOrClearBit(addressIndependence, 1 << 0, a_value); }

// 1 << 1 is for address library v1
constexpr void UsesAddressLibrary(const bool a_value) noexcept { SetOrClearBit(addressIndependence, 1 << 1, a_value); }

constexpr void HasNoStructUse(const bool a_value) noexcept { SetOrClearBit(structureCompatibility, 1 << 0, a_value); }

constexpr void IsLayoutDependent(const bool a_value) noexcept { SetOrClearBit(structureCompatibility, 1 << 1, a_value); }
// 1 << 2 is for runtime 1.8.86 and later
constexpr void IsLayoutDependent(const bool a_value) noexcept { SetOrClearBit(structureCompatibility, 1 << 2, a_value); }

constexpr void CompatibleVersions(std::initializer_list<REL::Version> a_versions) noexcept
{
Expand Down

0 comments on commit feb5930

Please sign in to comment.