From ae5a9005918ea4e275e87576f154e498bf22286f Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Sat, 8 Apr 2017 20:33:58 +0200 Subject: [PATCH] changes AccessMode to Action in frmMain This fixes a compile error because TOperandAccessMode was refactored to TOperandAction. --- assets/InstructionEditor/Forms/formMain.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/InstructionEditor/Forms/formMain.pas b/assets/InstructionEditor/Forms/formMain.pas index afbd937..7b729f1 100644 --- a/assets/InstructionEditor/Forms/formMain.pas +++ b/assets/InstructionEditor/Forms/formMain.pas @@ -931,7 +931,7 @@ begin begin O := NodeData^.Definition.Operands.Operands[I]; S := S + IntToStr(Integer(O.OperandType)) + ',' + IntToStr(Integer(O.Encoding)) + ',' + - IntToStr(Integer(O.AccessMode)) + ','; + IntToStr(Integer(O.Action)) + ','; end; Clipboard.AsText := S; end; @@ -959,7 +959,7 @@ begin O := NodeData^.Definition.Operands.Operands[J]; O.OperandType := TOperandType(StrToInt(A[I])); O.Encoding := TOperandEncoding(StrToInt(A[I + 1])); - O.AccessMode := TOperandAccessMode(StrToInt(A[I + 2])); + O.Action := TOperandAction(StrToInt(A[I + 2])); Inc(I, 3); Inc(J); end;