aboutsummaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-07-04 15:16:46 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-07-04 15:16:46 +0000
commit6731fad709d6ae924c15b0781d8debadaaf4840c (patch)
tree5180e4509f5328feb65bf73994a2e3a8ed18a316 /src/base
parent5cd178c47df571c1ff04fe08fa09c8ac3add4e67 (diff)
downloadusdx-6731fad709d6ae924c15b0781d8debadaaf4840c.tar.gz
usdx-6731fad709d6ae924c15b0781d8debadaaf4840c.tar.xz
usdx-6731fad709d6ae924c15b0781d8debadaaf4840c.zip
- divide ScreenW by 2 in modi list if screens=2 and fullscreen (UIni)
- fixed crash after singing (with screens=2) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2572 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/base')
-rw-r--r--src/base/UIni.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/UIni.pas b/src/base/UIni.pas
index b198f22c..6dd2956d 100644
--- a/src/base/UIni.pas
+++ b/src/base/UIni.pas
@@ -841,7 +841,7 @@ begin
begin
Log.LogStatus( 'Found Video Mode : ' + IntToStr(Modes^.w) + 'x' + IntToStr(Modes^.h) , 'Video');
SetLength(IResolution, Length(IResolution) + 1);
- IResolution[High(IResolution)] := IntToStr(Modes^.w) + 'x' + IntToStr(Modes^.h);
+ IResolution[High(IResolution)] := IntToStr(Modes^.w div (Screens+1)) + 'x' + IntToStr(Modes^.h);
Inc(Modes);
end;