summaryrefslogtreecommitdiffstats
path: root/src/audio_core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-02-20 05:13:19 +0100
committerLiam <byteslice@airmail.cc>2024-02-21 04:15:37 +0100
commita05bd3c47ef4d77411c150e5bdbd1efacc5bde68 (patch)
tree554bce7aa1cceb4d5ae8c00a6b6629e9c14dd6c1 /src/audio_core
parentaudio: rewrite IAudioInManager (diff)
downloadyuzu-a05bd3c47ef4d77411c150e5bdbd1efacc5bde68.tar
yuzu-a05bd3c47ef4d77411c150e5bdbd1efacc5bde68.tar.gz
yuzu-a05bd3c47ef4d77411c150e5bdbd1efacc5bde68.tar.bz2
yuzu-a05bd3c47ef4d77411c150e5bdbd1efacc5bde68.tar.lz
yuzu-a05bd3c47ef4d77411c150e5bdbd1efacc5bde68.tar.xz
yuzu-a05bd3c47ef4d77411c150e5bdbd1efacc5bde68.tar.zst
yuzu-a05bd3c47ef4d77411c150e5bdbd1efacc5bde68.zip
Diffstat (limited to '')
-rw-r--r--src/audio_core/device/audio_buffers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/device/audio_buffers.h b/src/audio_core/device/audio_buffers.h
index 5d8ed0ef7..25da4c8a2 100644
--- a/src/audio_core/device/audio_buffers.h
+++ b/src/audio_core/device/audio_buffers.h
@@ -146,11 +146,11 @@ public:
break;
}
- tags[released++] = tag;
-
if (released >= tags.size()) {
break;
}
+
+ tags[released++] = tag;
}
return released;