From 5542ab7f4e8b3ff42b46705331fa5942f3edac74 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sat, 19 Oct 2013 16:16:42 -0300 Subject: [PATCH] Fixed crash when checking if a sound file can be decoded by GME --- src/modules/sound/lullaby/GmeDecoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/sound/lullaby/GmeDecoder.cpp b/src/modules/sound/lullaby/GmeDecoder.cpp index f07864879..df2ad2eae 100644 --- a/src/modules/sound/lullaby/GmeDecoder.cpp +++ b/src/modules/sound/lullaby/GmeDecoder.cpp @@ -72,7 +72,7 @@ bool GmeDecoder::accepts(const std::string &ext) static const std::string supported[] = { "ay", "gbs", "gym", "hes", "kss", "nsf", - "nsfe", "sap", "spc", "vgm", "vgz" + "nsfe", "sap", "spc", "vgm", "vgz", "" }; for (int i = 0; !(supported[i].empty()); i++)