diff options
| author | 2018-10-10 12:23:50 +1100 | |
|---|---|---|
| committer | 2018-10-10 12:23:50 +1100 | |
| commit | a4412c8e22cb0e914fd876c03894929c0ee4812b (patch) | |
| tree | 2a6d83c547abdb66b7aa1d6ed7e50f99b8ee5c3f /src/core/hle/kernel/svc.cpp | |
| parent | Merge pull request #1466 from lioncash/unused (diff) | |
| download | yuzu-a4412c8e22cb0e914fd876c03894929c0ee4812b.tar.gz yuzu-a4412c8e22cb0e914fd876c03894929c0ee4812b.tar.xz yuzu-a4412c8e22cb0e914fd876c03894929c0ee4812b.zip | |
Fixed incorrect types for svcBreak
svcBreak reason should be a u32, not a u64.
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
| -rw-r--r-- | src/core/hle/kernel/svc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index b488b508d..f05b743ef 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp | |||
| @@ -303,13 +303,13 @@ static ResultCode ArbitrateUnlock(VAddr mutex_addr) { | |||
| 303 | 303 | ||
| 304 | struct BreakReason { | 304 | struct BreakReason { |
| 305 | union { | 305 | union { |
| 306 | u64 raw; | 306 | u32 raw; |
| 307 | BitField<31, 1, u64> dont_kill_application; | 307 | BitField<31, 1, u32> dont_kill_application; |
| 308 | }; | 308 | }; |
| 309 | }; | 309 | }; |
| 310 | 310 | ||
| 311 | /// Break program execution | 311 | /// Break program execution |
| 312 | static void Break(u64 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.dont_kill_application) { |
| 315 | LOG_ERROR( | 315 | LOG_ERROR( |