aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Menu
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-15 18:40:22 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-15 18:40:22 +0000
commit0a2abc145a59bfb2b0e0402a86115fa2da53c681 (patch)
tree8bdbe6a44697096bca21803d7c5ead94c8c12438 /Game/Code/Menu
parent0c5f07f9e3b9bcc7bf2ae9c81c7d6525514fef56 (diff)
downloadusdx-0a2abc145a59bfb2b0e0402a86115fa2da53c681.tar.gz
usdx-0a2abc145a59bfb2b0e0402a86115fa2da53c681.tar.xz
usdx-0a2abc145a59bfb2b0e0402a86115fa2da53c681.zip
- Support for multiple song/cover paths.
- Add multiple Song-Paths to the Ini file: [Directories] SongDir1=C:\... SongDir2=D:\... SongDirA=D:\... - UIni.pas clean-up git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1266 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Menu/UDisplay.pas4
1 files changed, 4 insertions, 0 deletions
diff --git a/Game/Code/Menu/UDisplay.pas b/Game/Code/Menu/UDisplay.pas
index 67eed740..2b10b2c6 100644
--- a/Game/Code/Menu/UDisplay.pas
+++ b/Game/Code/Menu/UDisplay.pas
@@ -290,6 +290,10 @@ var
Align: integer;
RowSize: integer;
begin
+ // Exit if Screenshot-path does not exist or read-only
+ if (ScreenshotsPath = '') then
+ Exit;
+
for Num := 1 to 9999 do
begin
FileName := IntToStr(Num);