mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-03 00:16:36 -04:00
Audio channels are sorted with a stable sort
This commit is contained in:
@@ -82,7 +82,7 @@ static void InitChannelSortIndices() {
|
||||
|
||||
static void SortChannelsByUpdateCount() {
|
||||
InitChannelSortIndices();
|
||||
std::ranges::sort(
|
||||
std::ranges::stable_sort(
|
||||
channelSortIndices,
|
||||
[](u8 a, u8 b) {
|
||||
auto& jasChannelA = JASDSPChannel::sDspChannels[a];
|
||||
|
||||
Reference in New Issue
Block a user