Skip to content

Commit

Permalink
Fix file path for TxHiResNoCache.
Browse files Browse the repository at this point in the history
Fixed [Bug] TxHiResNoCache doesn't work for games with colon : #2807
  • Loading branch information
gonetz committed Jan 13, 2024
1 parent 9146cd7 commit 3b43a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GLideNHQ/TxFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3b43a13

Please sign in to comment.