custom_tex: Fix hash read on windows

This commit is contained in:
GPUCode
2023-02-24 14:56:36 +02:00
parent c3ab060576
commit e861c456c9

View File

@ -95,7 +95,7 @@ void CustomTexManager::FindCustomTextures() {
// Parse the texture filename. We only really care about the hash, // Parse the texture filename. We only really care about the hash,
// the rest should be queried from the file itself. // the rest should be queried from the file itself.
if (std::sscanf(file.virtualName.c_str(), "tex1_%ux%u_%lX_%u.%s", &width, &height, &hash, if (std::sscanf(file.virtualName.c_str(), "tex1_%ux%u_%llX_%u.%s", &width, &height, &hash,
&format, ext.data()) != 5) { &format, ext.data()) != 5) {
continue; continue;
} }