diff options
author | Lioncash <mathew1800@gmail.com> | 2022-09-14 09:32:14 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-09-15 15:03:40 +0200 |
commit | 1c7dae966d52287ba5812c27d2fe0c59938aa416 (patch) | |
tree | 35709e02b9e5c0ef33f3bac4dadfb8bb3e8e3baf /src/core | |
parent | Merge pull request #8880 from german77/slow-moving (diff) | |
download | yuzu-1c7dae966d52287ba5812c27d2fe0c59938aa416.tar yuzu-1c7dae966d52287ba5812c27d2fe0c59938aa416.tar.gz yuzu-1c7dae966d52287ba5812c27d2fe0c59938aa416.tar.bz2 yuzu-1c7dae966d52287ba5812c27d2fe0c59938aa416.tar.lz yuzu-1c7dae966d52287ba5812c27d2fe0c59938aa416.tar.xz yuzu-1c7dae966d52287ba5812c27d2fe0c59938aa416.tar.zst yuzu-1c7dae966d52287ba5812c27d2fe0c59938aa416.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/audio/audout_u.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/audio/audout_u.cpp b/src/core/hle/service/audio/audout_u.cpp index a44dd842a..49c092301 100644 --- a/src/core/hle/service/audio/audout_u.cpp +++ b/src/core/hle/service/audio/audout_u.cpp @@ -246,9 +246,8 @@ void AudOutU::ListAudioOuts(Kernel::HLERequestContext& ctx) { const auto write_count = static_cast<u32>(ctx.GetWriteBufferSize() / sizeof(AudioDevice::AudioDeviceName)); std::vector<AudioDevice::AudioDeviceName> device_names{}; - std::string print_names{}; if (write_count > 0) { - device_names.push_back(AudioDevice::AudioDeviceName("DeviceOut")); + device_names.emplace_back("DeviceOut"); LOG_DEBUG(Service_Audio, "called. \nName=DeviceOut"); } else { LOG_DEBUG(Service_Audio, "called. Empty buffer passed in."); |