decoder/sidplay: use SidTune::getStatus()

This commit is contained in:
Max Kellermann 2016-07-29 16:58:15 +02:00
parent d916890a8f
commit bf276f6235

View File

@ -153,7 +153,7 @@ sidplay_file_decode(Decoder &decoder, Path path_fs)
const auto container = ParseContainerPath(path_fs);
SidTuneMod tune(container.path.c_str());
if (!tune) {
if (!tune.getStatus()) {
LogWarning(sidplay_domain, "failed to load file");
return;
}