Commit bf276f62 authored by Max Kellermann's avatar Max Kellermann

decoder/sidplay: use SidTune::getStatus()

parent d916890a
...@@ -153,7 +153,7 @@ sidplay_file_decode(Decoder &decoder, Path path_fs) ...@@ -153,7 +153,7 @@ sidplay_file_decode(Decoder &decoder, Path path_fs)
const auto container = ParseContainerPath(path_fs); const auto container = ParseContainerPath(path_fs);
SidTuneMod tune(container.path.c_str()); SidTuneMod tune(container.path.c_str());
if (!tune) { if (!tune.getStatus()) {
LogWarning(sidplay_domain, "failed to load file"); LogWarning(sidplay_domain, "failed to load file");
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment