diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-19 22:10:12 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-19 23:05:12 +0200 |
commit | ff500a7b6838f2eaca25b79ce602c499a71b9c10 (patch) | |
tree | 7813699b6de1c54556817cba997c870cb4846b35 /src/core/hle/service/audio/audren_u.cpp | |
parent | Merge pull request #714 from lioncash/index (diff) | |
download | yuzu-ff500a7b6838f2eaca25b79ce602c499a71b9c10.tar yuzu-ff500a7b6838f2eaca25b79ce602c499a71b9c10.tar.gz yuzu-ff500a7b6838f2eaca25b79ce602c499a71b9c10.tar.bz2 yuzu-ff500a7b6838f2eaca25b79ce602c499a71b9c10.tar.lz yuzu-ff500a7b6838f2eaca25b79ce602c499a71b9c10.tar.xz yuzu-ff500a7b6838f2eaca25b79ce602c499a71b9c10.tar.zst yuzu-ff500a7b6838f2eaca25b79ce602c499a71b9c10.zip |
Diffstat (limited to 'src/core/hle/service/audio/audren_u.cpp')
-rw-r--r-- | src/core/hle/service/audio/audren_u.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp index b7f591c6d..3bb15bd9f 100644 --- a/src/core/hle/service/audio/audren_u.cpp +++ b/src/core/hle/service/audio/audren_u.cpp @@ -299,7 +299,7 @@ private: IPC::RequestParser rp{ctx}; const std::string audio_interface = "AudioInterface"; - ctx.WriteBuffer(audio_interface.c_str(), audio_interface.size()); + ctx.WriteBuffer(audio_interface); IPC::ResponseBuilder rb = rp.MakeBuilder(3, 0, 0); rb.Push(RESULT_SUCCESS); @@ -324,7 +324,7 @@ private: IPC::RequestParser rp{ctx}; const std::string audio_interface = "AudioDevice"; - ctx.WriteBuffer(audio_interface.c_str(), audio_interface.size()); + ctx.WriteBuffer(audio_interface); IPC::ResponseBuilder rb = rp.MakeBuilder(3, 0, 0); rb.Push(RESULT_SUCCESS); |