mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-26 14:40:04 +02:00
misc: chore: Fix numerous NullReferenceExceptions, InvalidOperationExceptions
This commit is contained in:
@@ -59,7 +59,7 @@ namespace Ryujinx.Graphics.OpenGL
|
||||
IntPtr message,
|
||||
IntPtr userParam)
|
||||
{
|
||||
string msg = Marshal.PtrToStringUTF8(message).Replace('\n', ' ');
|
||||
string msg = Marshal.PtrToStringUTF8(message)?.Replace('\n', ' ');
|
||||
|
||||
switch (type)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user