From 1770a5c4efca6ea0f8ea3bd2ad7eafcc307e6e55 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Fri, 23 Feb 2024 05:00:24 +0100 Subject: [PATCH] early-access version 4161 --- README.md | 2 +- src/audio_core/device/audio_buffers.h | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ee5fb89d9..72587fb6c 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 4160. +This is the source code for early-access 4161. ## Legal Notice diff --git a/src/audio_core/device/audio_buffers.h b/src/audio_core/device/audio_buffers.h index 25273652d..ab0826870 100755 --- a/src/audio_core/device/audio_buffers.h +++ b/src/audio_core/device/audio_buffers.h @@ -146,11 +146,15 @@ public: break; } + if (released < tags.size()) { + tags[released] = tag; + } + + released++; + if (released >= tags.size()) { break; } - - tags[released++] = tag; } return released;