From 0a2abc145a59bfb2b0e0402a86115fa2da53c681 Mon Sep 17 00:00:00 2001 From: tobigun Date: Fri, 15 Aug 2008 18:40:22 +0000 Subject: - 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 --- Game/Code/Menu/UDisplay.pas | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Game/Code/Menu') 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); -- cgit v1.2.3