From 6aa7fa9b694e484d9207ff018663e38b1e63fe2f Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Sat, 13 Jan 2024 16:22:30 +0700 Subject: [PATCH] Fix file path for TxHiResNoCache. Fixed [Bug] TxHiResNoCache doesn't work for games with colon : #2807 --- src/GLideNHQ/TxFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GLideNHQ/TxFilter.cpp b/src/GLideNHQ/TxFilter.cpp index 3aec25e3e..231b41864 100644 --- a/src/GLideNHQ/TxFilter.cpp +++ b/src/GLideNHQ/TxFilter.cpp @@ -149,7 +149,7 @@ TxFilter::TxFilter(int maxwidth, wchar_t fullTexPackPath[MAX_PATH]; wcscpy(fullTexPackPath, texPackPath); wcscat(fullTexPackPath, OSAL_DIR_SEPARATOR_STR); - wcscat(fullTexPackPath, ident); + wcscat(fullTexPackPath, _ident.c_str()); _txHiResLoader = new TxHiResNoCache(_maxwidth, _maxheight, _maxbpp, _options, texCachePath, texPackPath, fullTexPackPath, _ident.c_str(), callback); } else { _txHiResLoader = new TxHiResCache(_maxwidth, _maxheight, _maxbpp, _options, texCachePath, texPackPath, _ident.c_str(), callback);