Commit 5f554bc

Nick committed on
Fixed DIBout flipping of image, added icon back
commit 5f554bc57806ef0306683cac24cd3dc6503ddb83 parent 2caeeb2
6 changed files +11−8
ModifiedGBEmu.lpi +3−2
@@ -15,6 +15,7 @@
15 <Title Value="GBEmu"/> 15 <Title Value="GBEmu"/>
16 <UseAppBundle Value="False"/> 16 <UseAppBundle Value="False"/>
17 <ResourceType Value="res"/> 17 <ResourceType Value="res"/>
18 <Icon Value="0"/>
18 </General> 19 </General>
19 <BuildModes Count="1"> 20 <BuildModes Count="1">
20 <Item1 Name="Default" Default="True"/> 21 <Item1 Name="Default" Default="True"/>
@@ -137,13 +138,13 @@
137 <Version Value="11"/> 138 <Version Value="11"/>
138 <PathDelim Value="\"/> 139 <PathDelim Value="\"/>
139 <SearchPaths> 140 <SearchPaths>
140 <IncludeFiles Value="Debugger;Directx;GPU;CPU;Sound;Global;Components"/> 141 <IncludeFiles Value="Debugger;Directx;GPU;CPU;Sound;Global;Components;$(ProjOutDir)"/>
141 <OtherUnitFiles Value="Debugger;Directx;GPU;CPU;Sound;Global;Components"/> 142 <OtherUnitFiles Value="Debugger;Directx;GPU;CPU;Sound;Global;Components"/>
142 <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> 143 <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
143 </SearchPaths> 144 </SearchPaths>
144 <Parsing> 145 <Parsing>
145 <SyntaxOptions> 146 <SyntaxOptions>
146 <SyntaxMode Value="delphi"/> 147 <SyntaxMode Value="Delphi"/>
147 </SyntaxOptions> 148 </SyntaxOptions>
148 </Parsing> 149 </Parsing>
149 <Linking> 150 <Linking>
ModifiedGBEmu.lpr +2−0
@@ -29,6 +29,8 @@ uses
29 29
30 {.$R *.RES} 30 {.$R *.RES}
31 31
32 {$R *.res}
33
32 begin 34 begin
33 Application.Initialize; 35 Application.Initialize;
34 Application.CreateForm(TfrmGameboy, frmGameboy); 36 Application.CreateForm(TfrmGameboy, frmGameboy);
ModifiedGBEmu.lps +5−5
@@ -20,9 +20,8 @@
20 <ComponentName Value="frmGameboy"/> 20 <ComponentName Value="frmGameboy"/>
21 <HasResources Value="True"/> 21 <HasResources Value="True"/>
22 <ResourceBaseClass Value="Form"/> 22 <ResourceBaseClass Value="Form"/>
23 <IsVisibleTab Value="True"/> 23 <TopLine Value="309"/>
24 <TopLine Value="286"/> 24 <CursorPos X="40" Y="313"/>
25 <CursorPos X="28" Y="311"/>
26 <UsageCount Value="27"/> 25 <UsageCount Value="27"/>
27 <Loaded Value="True"/> 26 <Loaded Value="True"/>
28 <LoadedDesigner Value="True"/> 27 <LoadedDesigner Value="True"/>
@@ -69,9 +68,10 @@
69 <Unit6> 68 <Unit6>
70 <Filename Value="Gpu\dib_out.pas"/> 69 <Filename Value="Gpu\dib_out.pas"/>
71 <IsPartOfProject Value="True"/> 70 <IsPartOfProject Value="True"/>
71 <IsVisibleTab Value="True"/>
72 <EditorIndex Value="3"/> 72 <EditorIndex Value="3"/>
73 <TopLine Value="94"/> 73 <TopLine Value="37"/>
74 <CursorPos Y="94"/> 74 <CursorPos X="21" Y="51"/>
75 <UsageCount Value="27"/> 75 <UsageCount Value="27"/>
76 <Loaded Value="True"/> 76 <Loaded Value="True"/>
77 <DefaultSyntaxHighlighter Value="Delphi"/> 77 <DefaultSyntaxHighlighter Value="Delphi"/>
ModifiedGpu/dib_out.pas +1−1
@@ -46,7 +46,7 @@ begin
46 begin 46 begin
47 bisize := sizeof(bmiheader); 47 bisize := sizeof(bmiheader);
48 biwidth := 160; 48 biwidth := 160;
49 biheight := 144; 49 biheight := -144;
50 biplanes := 1;{4} 50 biplanes := 1;{4}
51 bibitcount := bits; 51 bibitcount := bits;
52 bicompression := BI_RGB; 52 bicompression := BI_RGB;