From bf276f6235671c3f4af9331dfc837ee4716f9204 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 29 Jul 2016 16:58:15 +0200 Subject: [PATCH] decoder/sidplay: use SidTune::getStatus() --- src/decoder/plugins/SidplayDecoderPlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decoder/plugins/SidplayDecoderPlugin.cxx b/src/decoder/plugins/SidplayDecoderPlugin.cxx index 395945157..a6f5c19aa 100644 --- a/src/decoder/plugins/SidplayDecoderPlugin.cxx +++ b/src/decoder/plugins/SidplayDecoderPlugin.cxx @@ -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; }