mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- Fixed -iwad parameter working only with VS on Windows.
This commit is contained in:
parent
958b3c303a
commit
8afd331275
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ int FIWadManager::IdentifyVersion (TArray<FString> &wadfiles, const char *iwad,
|
||||||
FixPathSeperator(custwad);
|
FixPathSeperator(custwad);
|
||||||
DefaultExtension(custwad, ext);
|
DefaultExtension(custwad, ext);
|
||||||
bool isAbsolute = (custwad[0] == '/');
|
bool isAbsolute = (custwad[0] == '/');
|
||||||
#ifdef WINDOWS
|
#ifdef _WIN32
|
||||||
isAbsolute |= (custwad.Len() >= 2 && custwad[1] == ':');
|
isAbsolute |= (custwad.Len() >= 2 && custwad[1] == ':');
|
||||||
#endif
|
#endif
|
||||||
if (isAbsolute)
|
if (isAbsolute)
|
||||||
|
|
Loading…
Reference in a new issue