Changeset 67 for trunk/Forms/UFormMemory.pas
- Timestamp:
- Jan 17, 2015, 4:08:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMemory.pas
r61 r67 34 34 35 35 uses 36 U FormMain, UTargetInterpretter;36 UCore, UTargetInterpretter; 37 37 38 38 { TFormMemory } … … 40 40 procedure TFormMemory.Reload; 41 41 begin 42 if MainForm.CurrentTarget is TTargetInterpretter then43 with TTargetInterpretter( MainForm.CurrentTarget) do begin42 if Core.CurrentTarget is TTargetInterpretter then 43 with TTargetInterpretter(Core.CurrentTarget) do begin 44 44 ListViewMemory.Items.Count := Trunc(Length(Memory) / RowSize); 45 45 ListViewMemory.Refresh; … … 52 52 I: Integer; 53 53 begin 54 if MainForm.CurrentTarget is TTargetInterpretter then55 with TTargetInterpretter( MainForm.CurrentTarget) do54 if Core.CurrentTarget is TTargetInterpretter then 55 with TTargetInterpretter(Core.CurrentTarget) do 56 56 if (Item.Index >= 0) and (Item.Index < Trunc(Length(Memory) / RowSize)) then begin 57 57 Item.Caption := IntToHex(Item.Index * RowSize, 8);
Note:
See TracChangeset
for help on using the changeset viewer.