Changeset 70 for trunk/Forms/UFormMain.pas
- Timestamp:
- Oct 11, 2015, 6:50:33 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r67 r70 167 167 uses 168 168 UCore, UFormCPU, UFormOptions, UFormMessages, UFormTargets, UFormOutput, UFormInput, 169 UFormMemory, UFormSourceCode, UFormTargetCode, UTargetInterpretter, UFormLog; 169 UFormMemory, UFormSourceCode, UFormTargetCode, UTargetInterpretter, UFormLog, 170 UBFTarget; 170 171 171 172 resourcestring … … 454 455 begin 455 456 OptionsForm.Load; 456 //OptionsForm.LoadFromInterpretter(CurrentTarget);457 457 if OptionsForm.ShowModal = mrOK then begin 458 //OptionsForm.SaveToInterpretter(CurrentTarget);459 458 OptionsForm.Save; 460 if Assigned(Core.CurrentTarget) then 459 if Assigned(Core.CurrentTarget) then begin 461 460 Core.CurrentTarget.OptimizationLevel := Core.OptimizationLevel; 461 if Core.CurrentTarget is TBFTarget then begin 462 TBFTarget(Core.CurrentTarget).CellSize := Core.CellSize; 463 TBFTarget(Core.CurrentTarget).MemorySize := Core.MemorySize; 464 end; 465 end; 462 466 end; 463 467 end;
Note:
See TracChangeset
for help on using the changeset viewer.