summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/audio
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-07-13 02:35:44 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2018-07-13 02:35:44 +0200
commit664201170631e3029c99251a1d89ded5b2fed93b (patch)
tree29fa3781fbe94d501c0d6cfddea8d4b8f5d3daf2 /src/core/hle/service/audio
parentMerge pull request #652 from Subv/fadd32i (diff)
downloadyuzu-664201170631e3029c99251a1d89ded5b2fed93b.tar
yuzu-664201170631e3029c99251a1d89ded5b2fed93b.tar.gz
yuzu-664201170631e3029c99251a1d89ded5b2fed93b.tar.bz2
yuzu-664201170631e3029c99251a1d89ded5b2fed93b.tar.lz
yuzu-664201170631e3029c99251a1d89ded5b2fed93b.tar.xz
yuzu-664201170631e3029c99251a1d89ded5b2fed93b.tar.zst
yuzu-664201170631e3029c99251a1d89ded5b2fed93b.zip
Diffstat (limited to 'src/core/hle/service/audio')
-rw-r--r--src/core/hle/service/audio/audren_u.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp
index 2da936b27..59d92f9ee 100644
--- a/src/core/hle/service/audio/audren_u.cpp
+++ b/src/core/hle/service/audio/audren_u.cpp
@@ -47,7 +47,7 @@ public:
// Start the audio event
CoreTiming::ScheduleEvent(audio_ticks, audio_event);
- voice_status_list.reserve(worker_params.voice_count);
+ voice_status_list.resize(worker_params.voice_count);
}
~IAudioRenderer() {
CoreTiming::UnscheduleEvent(audio_event, 0);
@@ -183,7 +183,9 @@ private:
behavior_size = 0xb0;
memory_pools_size = (config.effect_count + (config.voice_count * 4)) * 0x10;
voices_size = config.voice_count * 0x10;
+ voice_resource_size = 0x0;
effects_size = config.effect_count * 0x10;
+ mixes_size = 0x0;
sinks_size = config.sink_count * 0x20;
performance_manager_size = 0x10;
total_size = sizeof(UpdateDataHeader) + behavior_size + memory_pools_size +