Fix XEBA and Voice::is_end code
This commit is contained in:
@@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user