diff options
author | Somebody Whoisbored <13044396+shadowninja108@users.noreply.github.com> | 2021-05-20 16:27:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-21 01:27:16 +0200 |
commit | 26e5b5acffa28c7fc9b6d13612ef5077fa35c971 (patch) | |
tree | cd62311f98d0da1698889d22d3a4a7a27eccd07b /Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall.cs | |
parent | 2c3dab69860e8a7b23cfaba603b3bb31b75a168b (diff) |
Extend info printed when guest crashes/breaks execution (#1845)
* Add CPU register printout when guest crashes/breaks execution
* Print out registers when undefined instruction is hit
* Apply suggestions from code review
Co-authored-by: Ac_K <Acoustik666@gmail.com>
* Fixes after rebase
* Address gdkchan's comments
Co-authored-by: Ac_K <Acoustik666@gmail.com>
Co-authored-by: Mary <me@thog.eu>
Diffstat (limited to 'Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall.cs')
-rw-r--r-- | Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall.cs b/Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall.cs index 238f1226..39161f22 100644 --- a/Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall.cs +++ b/Ryujinx.HLE/HOS/Kernel/SupervisorCall/Syscall.cs @@ -1409,6 +1409,7 @@ namespace Ryujinx.HLE.HOS.Kernel.SupervisorCall if ((reason & (1UL << 31)) == 0) { currentThread.PrintGuestStackTrace(); + currentThread.PrintGuestRegisterPrintout(); // As the process is exiting, this is probably caused by emulation termination. if (currentThread.Owner.State == ProcessState.Exiting) |