diff options
| author | 2021-06-23 09:59:56 -0400 | |
|---|---|---|
| committer | 2021-06-23 13:48:21 -0400 | |
| commit | d0b1f2bd05a2fcadbb4c148be2105e337dd986e8 (patch) | |
| tree | 17e7abb608ab936ae6696e0507c9d1441256c66a /src/core/hle/service/service.cpp | |
| parent | externals: Update dynarmic to allow fmt compilation to succeed (diff) | |
| download | yuzu-d0b1f2bd05a2fcadbb4c148be2105e337dd986e8.tar.gz yuzu-d0b1f2bd05a2fcadbb4c148be2105e337dd986e8.tar.xz yuzu-d0b1f2bd05a2fcadbb4c148be2105e337dd986e8.zip | |
General: Resolve fmt specifiers to adhere to 8.0.0 API where applicable
Also removes some deprecated API usages.
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 | ||