summaryrefslogtreecommitdiff
path: root/src/decoder/plugins/SidplayDecoderPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2016-07-29 17:31:25 +0200
committerMax Kellermann <max@duempel.org>2016-07-29 17:31:34 +0200
commitc3dbc92766214b53aa470be21c96adae1f7ab238 (patch)
tree2a9ccc1ebb73df5c455670caeb3f0620ec7b0a21 /src/decoder/plugins/SidplayDecoderPlugin.cxx
parent0bd25f1e17739c364971d3bf6fbdf7e04cc4519b (diff)
decoder/sidplay: use SidTune::getStatus()
Diffstat (limited to 'src/decoder/plugins/SidplayDecoderPlugin.cxx')
-rw-r--r--src/decoder/plugins/SidplayDecoderPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
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);