diff options
-rwxr-xr-x | README.md | 2 | ||||
-rwxr-xr-x | src/audio_core/device/audio_buffers.h | 8 |
2 files changed, 7 insertions, 3 deletions
@@ -1,7 +1,7 @@ | |||
1 | yuzu emulator early access | 1 | yuzu emulator early access |
2 | ============= | 2 | ============= |
3 | 3 | ||
4 | This is the source code for early-access 4160. | 4 | This is the source code for early-access 4161. |
5 | 5 | ||
6 | ## Legal Notice | 6 | ## Legal Notice |
7 | 7 | ||
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: | |||
146 | break; | 146 | break; |
147 | } | 147 | } |
148 | 148 | ||
149 | if (released < tags.size()) { | ||
150 | tags[released] = tag; | ||
151 | } | ||
152 | |||
153 | released++; | ||
154 | |||
149 | if (released >= tags.size()) { | 155 | if (released >= tags.size()) { |
150 | break; | 156 | break; |
151 | } | 157 | } |
152 | |||
153 | tags[released++] = tag; | ||
154 | } | 158 | } |
155 | 159 | ||
156 | return released; | 160 | return released; |