[ scummvm-Patches-795066 ] Win32 - search for .INI in current dir first

SourceForge.net noreply at sourceforge.net
Tue Aug 26 04:35:39 CEST 2003


Patches item #795066, was opened at 2003-08-25 21:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=795066&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Quietust (quietust)
Assigned to: Nobody/Anonymous (nobody)
Summary: Win32 - search for .INI in current dir first

Initial Comment:
The WINDOWS/WINNT directory is generally rather 

cluttered. The attached patch allows 

placing 'scummvm.ini' in the current working directory 

(this will generally be the same location as 

scummvm.exe, sdl.dll, etc.); if the file is not found 

there, it will default to the Windows directory as it 

usually does.



With several minor changes [use GetModuleFileName

(NULL,...) instead of GetCurrentDirectory(...) and strip 

off the filename], this could be made to check the .EXE 

directory instead of the current directory, making it even 

more portable.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=795066&group_id=37116




More information about the Scummvm-tracker mailing list