From c3dbc92766214b53aa470be21c96adae1f7ab238 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 29 Jul 2016 17:31:25 +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 8b4bd927b..168a15d2c 100644 --- a/src/decoder/plugins/SidplayDecoderPlugin.cxx +++ b/src/decoder/plugins/SidplayDecoderPlugin.cxx @@ -289,7 +289,7 @@ sidplay_scan_file(Path path_fs, const unsigned song_num = container.track; SidTuneMod tune(container.path.c_str()); - if (!tune) + if (!tune.getStatus()) return false; tune.selectSong(song_num);