mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-26 02:23:05 +00:00
PTC version, remove unnecessary instruction
This commit is contained in:
parent
76f2b3d089
commit
e5ee097e49
2 changed files with 1 additions and 4 deletions
|
@ -29,7 +29,7 @@ namespace ARMeilleure.Translation.PTC
|
||||||
private const string OuterHeaderMagicString = "PTCohd\0\0";
|
private const string OuterHeaderMagicString = "PTCohd\0\0";
|
||||||
private const string InnerHeaderMagicString = "PTCihd\0\0";
|
private const string InnerHeaderMagicString = "PTCihd\0\0";
|
||||||
|
|
||||||
private const uint InternalVersion = 26958; //! To be incremented manually for each change to the ARMeilleure project.
|
private const uint InternalVersion = 6978; //! 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";
|
||||||
|
|
|
@ -379,9 +379,6 @@ namespace Ryujinx.Cpu.LightningJit.Arm64.Target.Arm64
|
||||||
asm.Ubfx(indexReg, guestAddress, level1.Index, level1.Length);
|
asm.Ubfx(indexReg, guestAddress, level1.Index, level1.Length);
|
||||||
asm.Lsl(indexReg, indexReg, Const(3));
|
asm.Lsl(indexReg, indexReg, Const(3));
|
||||||
|
|
||||||
// Is the page address zero? Make sure to use the fallback if it is.
|
|
||||||
asm.Tst(rn, rn);
|
|
||||||
|
|
||||||
// Index into the page.
|
// Index into the page.
|
||||||
asm.Add(rn, rn, indexReg);
|
asm.Add(rn, rn, indexReg);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue