Fix XEBA and Voice::is_end code

This commit is contained in:
2024-09-26 21:40:15 +02:00
parent 714ef195d3
commit a36b489dfd
3 changed files with 12 additions and 13 deletions

View File

@@ -44,8 +44,7 @@ namespace JabyEngine {
}
bool is_end() const {
// TODO: Make work in XEBRA
return SPU_IO::Key::Status.read().is_set(Voice::get_id());
return SPU_IO::Voice[Voice::get_id()].adsr_volume.read() == SimpleVolume::mute();
}
};