diff options
| author | 2018-10-10 12:27:44 +1100 | |
|---|---|---|
| committer | 2018-10-10 12:27:44 +1100 | |
| commit | 09b6dda8f03c06a09b6ad2f731826e93e5920503 (patch) | |
| tree | 9fbac6e5d8bb0df314fcecba38aea48f57b05069 /src/core | |
| parent | Fixed incorrect types for svcBreak (diff) | |
| download | yuzu-09b6dda8f03c06a09b6ad2f731826e93e5920503.tar.gz yuzu-09b6dda8f03c06a09b6ad2f731826e93e5920503.tar.xz yuzu-09b6dda8f03c06a09b6ad2f731826e93e5920503.zip | |
Use a better name than "dont_kill_application"
signal_debugger seems like a more fitting name
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index f05b743ef..e5dd43275 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp | |||
| @@ -304,14 +304,14 @@ static ResultCode ArbitrateUnlock(VAddr mutex_addr) { | |||
| 304 | struct BreakReason { | 304 | struct BreakReason { |
| 305 | union { | 305 | union { |
| 306 | u32 raw; | 306 | u32 raw; |
| 307 | BitField<31, 1, u32> dont_kill_application; | 307 | BitField<31, 1, u32> signal_debugger; |
| 308 | }; | 308 | }; |
| 309 | }; | 309 | }; |
| 310 | 310 | ||
| 311 | /// Break program execution | 311 | /// Break program execution |
| 312 | static void Break(u32 reason, u64 info1, u64 info2) { | 312 | static void Break(u32 reason, u64 info1, u64 info2) { |
| 313 | BreakReason break_reason{reason}; | 313 | BreakReason break_reason{reason}; |
| 314 | if (break_reason.dont_kill_application) { | 314 | if (break_reason.signal_debugger) { |
| 315 | LOG_ERROR( | 315 | LOG_ERROR( |
| 316 | Debug_Emulated, | 316 | Debug_Emulated, |
| 317 | "Emulated program broke execution! reason=0x{:016X}, info1=0x{:016X}, info2=0x{:016X}", | 317 | "Emulated program broke execution! reason=0x{:016X}, info1=0x{:016X}, info2=0x{:016X}", |