Browse Source

Fixed crash when checking if a sound file can be decoded by GME

Alex Szpakowski 11 years ago
parent
commit
5542ab7f4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/sound/lullaby/GmeDecoder.cpp

+ 1 - 1
src/modules/sound/lullaby/GmeDecoder.cpp

@@ -72,7 +72,7 @@ bool GmeDecoder::accepts(const std::string &ext)
 	static const std::string supported[] =
 	static const std::string supported[] =
 	{
 	{
 		"ay", "gbs", "gym", "hes", "kss", "nsf",
 		"ay", "gbs", "gym", "hes", "kss", "nsf",
-		"nsfe", "sap", "spc", "vgm", "vgz"
+		"nsfe", "sap", "spc", "vgm", "vgz", ""
 	};
 	};
 
 
 	for (int i = 0; !(supported[i].empty()); i++)
 	for (int i = 0; !(supported[i].empty()); i++)