diff options
| author | 2018-09-29 18:47:00 -0400 | |
|---|---|---|
| committer | 2018-09-30 02:30:01 -0400 | |
| commit | cf9d6c6f526fffb2bf414ff774c5d0281a73ecf4 (patch) | |
| tree | a9e0bbc02013f0dbc6409af9c8685a8b8b9e9f32 /src/core/hle/service/fatal | |
| parent | arm_interface: Add missing fpsr/tpidr members to the ThreadContext struct (diff) | |
| download | yuzu-cf9d6c6f526fffb2bf414ff774c5d0281a73ecf4.tar.gz yuzu-cf9d6c6f526fffb2bf414ff774c5d0281a73ecf4.tar.xz yuzu-cf9d6c6f526fffb2bf414ff774c5d0281a73ecf4.zip | |
kernel/process: Make data member variables private
Makes the public interface consistent in terms of how accesses are done
on a process object. It also makes it slightly nicer to reason about the
logic of the process class, as we don't want to expose everything to
external code.
Diffstat (limited to 'src/core/hle/service/fatal')
| -rw-r--r-- | src/core/hle/service/fatal/fatal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/fatal/fatal.cpp b/src/core/hle/service/fatal/fatal.cpp index 2212b2cdd..2f15ac2a6 100644 --- a/src/core/hle/service/fatal/fatal.cpp +++ b/src/core/hle/service/fatal/fatal.cpp | |||
| @@ -51,7 +51,7 @@ enum class FatalType : u32 { | |||
| 51 | }; | 51 | }; |
| 52 | 52 | ||
| 53 | static void GenerateErrorReport(ResultCode error_code, const FatalInfo& info) { | 53 | static void GenerateErrorReport(ResultCode error_code, const FatalInfo& info) { |
| 54 | const auto title_id = Core::CurrentProcess()->program_id; | 54 | const auto title_id = Core::CurrentProcess()->GetTitleID(); |
| 55 | std::string crash_report = | 55 | std::string crash_report = |
| 56 | fmt::format("Yuzu {}-{} crash report\n" | 56 | fmt::format("Yuzu {}-{} crash report\n" |
| 57 | "Title ID: {:016x}\n" | 57 | "Title ID: {:016x}\n" |