mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-23 17:01:21 -08:00
Hotfix for #1814
This commit is contained in:
parent
2502f1f07f
commit
5b9c876155
@ -22,7 +22,7 @@ namespace ARMeilleure.Translation.PTC
|
|||||||
{
|
{
|
||||||
private const string HeaderMagic = "PTChd";
|
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 ActualDir = "0";
|
||||||
private const string BackupDir = "1";
|
private const string BackupDir = "1";
|
||||||
@ -678,6 +678,11 @@ namespace ARMeilleure.Translation.PTC
|
|||||||
|
|
||||||
Debug.Assert(isAddressUnique, $"The address 0x{address:X16} is not unique.");
|
Debug.Assert(isAddressUnique, $"The address 0x{address:X16} is not unique.");
|
||||||
|
|
||||||
|
if (func.HighCq)
|
||||||
|
{
|
||||||
|
jumpTable.RegisterFunction(address, func);
|
||||||
|
}
|
||||||
|
|
||||||
Interlocked.Increment(ref _translateCount);
|
Interlocked.Increment(ref _translateCount);
|
||||||
|
|
||||||
if (State != PtcState.Enabled)
|
if (State != PtcState.Enabled)
|
||||||
|
Loading…
Reference in New Issue
Block a user