You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
RTEAbort("Failed to find audio file with following path and name:\n\n" + m_DataPath + " or " + altFileExtension + "\n" + m_FormattedReaderPosition);
229
-
} else {
230
-
g_ConsoleMan.PrintString("Failed to find audio file with following path and name:\n\n" + m_DataPath + " or " + altFileExtension + ". The file was not loaded!");
231
-
returnnullptr;
222
+
bool foundAltExtension = false;
223
+
for (const std::string &altFileExtension : c_SupportedAudioFormats) {
224
+
if (std::filesystem::exists(m_DataPathWithoutExtension + altFileExtension)) {
0 commit comments