diff options
| author | Marco Carvalho <marcolucio27@gmail.com> | 2024-04-19 09:21:21 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-19 09:21:21 -0300 |
| commit | 99f46e22e2ba6c528dfdc9b3907d5a6acf2b1365 (patch) | |
| tree | e0dd1871e9a9e439a835d0ad3f0617954b812b23 /src/Ryujinx.HLE/HOS/Services/Fatal | |
| parent | 22fb8c9d4f01f0356c29454d18004849f89c67dd (diff) | |
Do not compare Span<T> to 'null' or 'default' (#6683)
Diffstat (limited to 'src/Ryujinx.HLE/HOS/Services/Fatal')
| -rw-r--r-- | src/Ryujinx.HLE/HOS/Services/Fatal/IService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ryujinx.HLE/HOS/Services/Fatal/IService.cs b/src/Ryujinx.HLE/HOS/Services/Fatal/IService.cs index 21daf875..15507774 100644 --- a/src/Ryujinx.HLE/HOS/Services/Fatal/IService.cs +++ b/src/Ryujinx.HLE/HOS/Services/Fatal/IService.cs @@ -60,7 +60,7 @@ namespace Ryujinx.HLE.HOS.Services.Fatal errorReport.AppendLine($"\tResultCode: {((int)resultCode & 0x1FF) + 2000}-{((int)resultCode >> 9) & 0x3FFF:d4}"); errorReport.AppendLine($"\tFatalPolicy: {fatalPolicy}"); - if (cpuContext != null) + if (!cpuContext.IsEmpty) { errorReport.AppendLine("CPU Context:"); |
