diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-12-25 20:31:53 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-12-29 00:46:54 +0100 |
commit | a1490d77ace26ec01a60541239d9a8524b88fcec (patch) | |
tree | 8da577293325c3f585a4d031288339885ca26a65 /src/core/hle/service/set/set_sys.cpp | |
parent | hle_ipc: Rename ReadBuffer to ReadBufferCopy (diff) | |
download | yuzu-a1490d77ace26ec01a60541239d9a8524b88fcec.tar yuzu-a1490d77ace26ec01a60541239d9a8524b88fcec.tar.gz yuzu-a1490d77ace26ec01a60541239d9a8524b88fcec.tar.bz2 yuzu-a1490d77ace26ec01a60541239d9a8524b88fcec.tar.lz yuzu-a1490d77ace26ec01a60541239d9a8524b88fcec.tar.xz yuzu-a1490d77ace26ec01a60541239d9a8524b88fcec.tar.zst yuzu-a1490d77ace26ec01a60541239d9a8524b88fcec.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/set/set_sys.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/set/set_sys.cpp b/src/core/hle/service/set/set_sys.cpp index f1ace8184..94c20edda 100644 --- a/src/core/hle/service/set/set_sys.cpp +++ b/src/core/hle/service/set/set_sys.cpp @@ -131,12 +131,12 @@ void SET_SYS::GetSettingsItemValueSize(Kernel::HLERequestContext& ctx) { // The category of the setting. This corresponds to the top-level keys of // system_settings.ini. - const auto setting_category_buf{ctx.ReadBufferSpan(0)}; + const auto setting_category_buf{ctx.ReadBuffer(0)}; const std::string setting_category{setting_category_buf.begin(), setting_category_buf.end()}; // The name of the setting. This corresponds to the second-level keys of // system_settings.ini. - const auto setting_name_buf{ctx.ReadBufferSpan(1)}; + const auto setting_name_buf{ctx.ReadBuffer(1)}; const std::string setting_name{setting_name_buf.begin(), setting_name_buf.end()}; auto settings{GetSettings()}; @@ -156,12 +156,12 @@ void SET_SYS::GetSettingsItemValue(Kernel::HLERequestContext& ctx) { // The category of the setting. This corresponds to the top-level keys of // system_settings.ini. - const auto setting_category_buf{ctx.ReadBufferSpan(0)}; + const auto setting_category_buf{ctx.ReadBuffer(0)}; const std::string setting_category{setting_category_buf.begin(), setting_category_buf.end()}; // The name of the setting. This corresponds to the second-level keys of // system_settings.ini. - const auto setting_name_buf{ctx.ReadBufferSpan(1)}; + const auto setting_name_buf{ctx.ReadBuffer(1)}; const std::string setting_name{setting_name_buf.begin(), setting_name_buf.end()}; auto settings{GetSettings()}; |