1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-10 11:21:42 +00:00

Fix folding of ConvertI64ToI32 imm64 (#1383)

* Fix folding of ConvertI64ToI32 imm64

* Increment PTC internal version

* Clean up
This commit is contained in:
Ficture Seven 2020-07-13 13:10:33 +04:00 committed by GitHub
parent 2cde252eea
commit b5127131c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ namespace ARMeilleure.CodeGen.Optimizations
case Instruction.ConvertI64ToI32:
if (type == OperandType.I32)
{
EvaluateUnaryI64(operation, (x) => (int)x);
EvaluateUnaryI32(operation, (x) => x);
}
break;

View file

@ -20,7 +20,7 @@ namespace ARMeilleure.Translation.PTC
{
private const string HeaderMagic = "PTChd";
private const int InternalVersion = 6; //! To be incremented manually for each change to the ARMeilleure project.
private const int InternalVersion = 7; //! To be incremented manually for each change to the ARMeilleure project.
private const string BaseDir = "Ryujinx";