decoder/sidplay: use SidTune::getStatus()
This commit is contained in:
parent
d916890a8f
commit
bf276f6235
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user