diff options
author | Lioncash <mathew1800@gmail.com> | 2022-12-06 03:42:22 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-12-06 03:48:42 +0100 |
commit | eadc1ae1e7a4ce873467b9ea244af752f57ce5e7 (patch) | |
tree | 4ee0f889b338478c5d5f7536d5d6c4b67e97df63 /src/core/reporter.h | |
parent | reporter: Eliminate undefined behavior in SaveErrorReport (diff) | |
download | yuzu-eadc1ae1e7a4ce873467b9ea244af752f57ce5e7.tar yuzu-eadc1ae1e7a4ce873467b9ea244af752f57ce5e7.tar.gz yuzu-eadc1ae1e7a4ce873467b9ea244af752f57ce5e7.tar.bz2 yuzu-eadc1ae1e7a4ce873467b9ea244af752f57ce5e7.tar.lz yuzu-eadc1ae1e7a4ce873467b9ea244af752f57ce5e7.tar.xz yuzu-eadc1ae1e7a4ce873467b9ea244af752f57ce5e7.tar.zst yuzu-eadc1ae1e7a4ce873467b9ea244af752f57ce5e7.zip |
Diffstat (limited to 'src/core/reporter.h')
-rw-r--r-- | src/core/reporter.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/reporter.h b/src/core/reporter.h index 983a9545a..9fdb9d6c1 100644 --- a/src/core/reporter.h +++ b/src/core/reporter.h @@ -36,7 +36,7 @@ public: // Used by syscall svcBreak void SaveSvcBreakReport(u32 type, bool signal_debugger, u64 info1, u64 info2, - std::optional<std::vector<u8>> resolved_buffer = {}) const; + const std::optional<std::vector<u8>>& resolved_buffer = {}) const; // Used by HLE service handler void SaveUnimplementedFunctionReport(Kernel::HLERequestContext& ctx, u32 command_id, @@ -44,10 +44,10 @@ public: const std::string& service_name) const; // Used by stub applet implementation - void SaveUnimplementedAppletReport(u32 applet_id, u32 common_args_version, u32 library_version, - u32 theme_color, bool startup_sound, u64 system_tick, - std::vector<std::vector<u8>> normal_channel, - std::vector<std::vector<u8>> interactive_channel) const; + void SaveUnimplementedAppletReport( + u32 applet_id, u32 common_args_version, u32 library_version, u32 theme_color, + bool startup_sound, u64 system_tick, const std::vector<std::vector<u8>>& normal_channel, + const std::vector<std::vector<u8>>& interactive_channel) const; enum class PlayReportType { Old, @@ -56,7 +56,7 @@ public: System, }; - void SavePlayReport(PlayReportType type, u64 title_id, std::vector<std::vector<u8>> data, + void SavePlayReport(PlayReportType type, u64 title_id, const std::vector<std::vector<u8>>& data, std::optional<u64> process_id = {}, std::optional<u128> user_id = {}) const; // Used by error applet |