diff options
| author | 2023-01-30 12:17:09 -0800 | |
|---|---|---|
| committer | 2023-01-30 12:17:09 -0800 | |
| commit | ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a (patch) | |
| tree | 54b6ce04e859b1dee33f4331f392c0d645f4db43 /src/core/reporter.cpp | |
| parent | Merge pull request #9701 from german77/common_protocol (diff) | |
| parent | hle_ipc: Use thread_local ReadBuffer (diff) | |
| download | yuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.tar.gz yuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.tar.xz yuzu-ed4a88bd93c93ac1aaf5b6bae7d8ede10ff0338a.zip | |
Merge pull request #9508 from ameerj/hle-ipc-buffer-span
hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer
Diffstat (limited to 'src/core/reporter.cpp')
| -rw-r--r-- | src/core/reporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/reporter.cpp b/src/core/reporter.cpp index 77821e047..59dfb8767 100644 --- a/src/core/reporter.cpp +++ b/src/core/reporter.cpp | |||
| @@ -312,7 +312,7 @@ void Reporter::SaveUnimplementedAppletReport( | |||
| 312 | } | 312 | } |
| 313 | 313 | ||
| 314 | void Reporter::SavePlayReport(PlayReportType type, u64 title_id, | 314 | void Reporter::SavePlayReport(PlayReportType type, u64 title_id, |
| 315 | const std::vector<std::vector<u8>>& data, | 315 | const std::vector<std::span<const u8>>& data, |
| 316 | std::optional<u64> process_id, std::optional<u128> user_id) const { | 316 | std::optional<u64> process_id, std::optional<u128> user_id) const { |
| 317 | if (!IsReportingEnabled()) { | 317 | if (!IsReportingEnabled()) { |
| 318 | return; | 318 | return; |