diff --git a/desmume/src/windows/mic.cpp b/desmume/src/windows/mic.cpp index bb6149284..da27c20ef 100644 --- a/desmume/src/windows/mic.cpp +++ b/desmume/src/windows/mic.cpp @@ -231,7 +231,8 @@ bool LoadSamples(const char *name) if (!name || !*name) return true; //analyze the filename for _0 at the end. anything with _0 at the end is assumed to be the beginning of a series of files - //(and if not, it can still be loaded just fine) + //series with just digits in filenames also work: "0.wav". in those \ would be a remainder from the path + //(and if neither, it can still be loaded just fine) const char* ext = strrchr(name,'.'); //in case the filename had no extension... it's an error. @@ -243,13 +244,13 @@ bool LoadSamples(const char *name) if(ext