diff options
author | Ac_K <Acoustik666@gmail.com> | 2020-12-24 04:44:39 +0100 |
---|---|---|
committer | Ac_K <Acoustik666@gmail.com> | 2020-12-24 04:44:39 +0100 |
commit | 5b9c8761554b25be21de4879128c7abf9ab3781a (patch) | |
tree | 90c07ce424e29bff8c3e9691ac2407b463f42e3b /ARMeilleure | |
parent | 2502f1f07f31abe30a641d651c9640f3d81c2c0f (diff) |
Hotfix for #1814
Diffstat (limited to 'ARMeilleure')
-rw-r--r-- | ARMeilleure/Translation/PTC/Ptc.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ARMeilleure/Translation/PTC/Ptc.cs b/ARMeilleure/Translation/PTC/Ptc.cs index 34492559..5bb8cf6d 100644 --- a/ARMeilleure/Translation/PTC/Ptc.cs +++ b/ARMeilleure/Translation/PTC/Ptc.cs @@ -22,7 +22,7 @@ namespace ARMeilleure.Translation.PTC { private const string HeaderMagic = "PTChd"; - private const int InternalVersion = 1775; //! To be incremented manually for each change to the ARMeilleure project. + private const int InternalVersion = 1814; //! To be incremented manually for each change to the ARMeilleure project. private const string ActualDir = "0"; private const string BackupDir = "1"; @@ -678,6 +678,11 @@ namespace ARMeilleure.Translation.PTC Debug.Assert(isAddressUnique, $"The address 0x{address:X16} is not unique."); + if (func.HighCq) + { + jumpTable.RegisterFunction(address, func); + } + Interlocked.Increment(ref _translateCount); if (State != PtcState.Enabled) @@ -847,4 +852,4 @@ namespace ARMeilleure.Translation.PTC } } } -} +}
\ No newline at end of file |