diff options
| author | 2021-06-23 15:31:04 -0700 | |
|---|---|---|
| committer | 2021-06-23 15:31:04 -0700 | |
| commit | 1b09d6628b7f268c256c12e4d3e373724671d2f1 (patch) | |
| tree | b1679d1c4bc044144798746332860939fe43d109 /src/core/hle/service/service.cpp | |
| parent | Merge pull request #6504 from Kelebek1/samples-played (diff) | |
| parent | General: Resolve fmt specifiers to adhere to 8.0.0 API where applicable (diff) | |
| download | yuzu-1b09d6628b7f268c256c12e4d3e373724671d2f1.tar.gz yuzu-1b09d6628b7f268c256c12e4d3e373724671d2f1.tar.xz yuzu-1b09d6628b7f268c256c12e4d3e373724671d2f1.zip | |
Merge pull request #6517 from lioncash/fmtlib
externals: Update fmt to 8.0.0
Diffstat (limited to 'src/core/hle/service/service.cpp')
| -rw-r--r-- | src/core/hle/service/service.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index 4e1541630..663b83cd3 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp | |||
| @@ -149,10 +149,10 @@ void ServiceFrameworkBase::ReportUnimplementedFunction(Kernel::HLERequestContext | |||
| 149 | std::string function_name = info == nullptr ? fmt::format("{}", ctx.GetCommand()) : info->name; | 149 | std::string function_name = info == nullptr ? fmt::format("{}", ctx.GetCommand()) : info->name; |
| 150 | 150 | ||
| 151 | fmt::memory_buffer buf; | 151 | fmt::memory_buffer buf; |
| 152 | fmt::format_to(buf, "function '{}': port='{}' cmd_buf={{[0]=0x{:X}", function_name, | 152 | fmt::format_to(std::back_inserter(buf), "function '{}': port='{}' cmd_buf={{[0]=0x{:X}", |
| 153 | service_name, cmd_buf[0]); | 153 | function_name, service_name, cmd_buf[0]); |
| 154 | for (int i = 1; i <= 8; ++i) { | 154 | for (int i = 1; i <= 8; ++i) { |
| 155 | fmt::format_to(buf, ", [{}]=0x{:X}", i, cmd_buf[i]); | 155 | fmt::format_to(std::back_inserter(buf), ", [{}]=0x{:X}", i, cmd_buf[i]); |
| 156 | } | 156 | } |
| 157 | buf.push_back('}'); | 157 | buf.push_back('}'); |
| 158 | 158 | ||