Changeset 185 for branches/virtualcpu4/UMachine.pas
- Timestamp:
- May 1, 2019, 9:48:46 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/virtualcpu4/UMachine.pas
r182 r185 34 34 LockInput: TCriticalSection; 35 35 LockOutput: TCriticalSection; 36 pro perty MemorySize: Integer read GetMemorySize write SetMemorySize;36 procedure ClearMemory; 37 37 constructor Create; 38 38 destructor Destroy; override; 39 property MemorySize: Integer read GetMemorySize write SetMemorySize; 39 40 end; 40 41 … … 159 160 end; 160 161 162 procedure TMachine.ClearMemory; 163 begin 164 FillChar(Memory^, MemorySize, $ff); 165 end; 166 161 167 162 168 end.
Note:
See TracChangeset
for help on using the changeset viewer.