diff --git a/GPU/Common/TextureReplacer.cpp b/GPU/Common/TextureReplacer.cpp index 88ae5feee4..11421fb71e 100644 --- a/GPU/Common/TextureReplacer.cpp +++ b/GPU/Common/TextureReplacer.cpp @@ -180,6 +180,12 @@ bool TextureReplacer::LoadIni() { // Do what we can do anyway: Scan for textures and build the map. std::map> filenameMap; ScanForHashNamedFiles(dir, filenameMap); + + if (filenameMap.empty()) { + WARN_LOG(G3D, "No replacement textures found."); + return false; + } + ComputeAliasMap(filenameMap); } }