Commit 222aff6

Nick committed on
Remove nullstream.pas
commit 222aff6dd242203d066779d1bb26e7c7f4a3a45a parent 4ad942d
2 changed files +2−41
ModifiedGBEmu.lpi +2−7
@@ -221,7 +221,7 @@
221 <PackageName Value="LCL"/> 221 <PackageName Value="LCL"/>
222 </Item5> 222 </Item5>
223 </RequiredPackages> 223 </RequiredPackages>
224 <Units Count="24"> 224 <Units Count="23">
225 <Unit0> 225 <Unit0>
226 <Filename Value="GBEmu.lpr"/> 226 <Filename Value="GBEmu.lpr"/>
227 <IsPartOfProject Value="True"/> 227 <IsPartOfProject Value="True"/>
@@ -339,15 +339,10 @@
339 <UnitName Value="htWaveWriter"/> 339 <UnitName Value="htWaveWriter"/>
340 </Unit21> 340 </Unit21>
341 <Unit22> 341 <Unit22>
342 <Filename Value="nullstream.pas"/>
343 <IsPartOfProject Value="True"/>
344 <UnitName Value="NullStream"/>
345 </Unit22>
346 <Unit23>
347 <Filename Value="modimport.pas"/> 342 <Filename Value="modimport.pas"/>
348 <IsPartOfProject Value="True"/> 343 <IsPartOfProject Value="True"/>
349 <UnitName Value="MODImport"/> 344 <UnitName Value="MODImport"/>
350 </Unit23> 345 </Unit22>
351 </Units> 346 </Units>
352 </ProjectOptions> 347 </ProjectOptions>
353 <CompilerOptions> 348 <CompilerOptions>
Deletednullstream.pas +0−34
@@ -1,34 +0,0 @@
1 unit NullStream;
2
3 {$mode objfpc}{$H+}
4
5 interface
6
7 uses
8 Classes, SysUtils;
9
10 type
11
12 { TNullStream }
13
14 TNullStream = class(TStream)
15 function Write(const Buffer; Count: Longint): Longint; override;
16 function Read(var Buffer; Count: Longint): Longint; override;
17 end;
18
19 implementation
20
21 { TNullStream }
22
23 function TNullStream.Write(const Buffer; Count: Longint): Longint;
24 begin
25 Result:= 0;
26 end;
27
28 function TNullStream.Read(var Buffer; Count: Longint): Longint;
29 begin
30 Result:= 0;
31 end;
32
33 end.
34