diff --git a/Ryujinx.Ava/Ryujinx.Ava.csproj b/Ryujinx.Ava/Ryujinx.Ava.csproj
index 46b24dbdf..c7b0eadc5 100644
--- a/Ryujinx.Ava/Ryujinx.Ava.csproj
+++ b/Ryujinx.Ava/Ryujinx.Ava.csproj
@@ -38,7 +38,7 @@
-
+
diff --git a/Ryujinx.Ava/Ui/Windows/IconColorPicker.cs b/Ryujinx.Ava/Ui/Windows/IconColorPicker.cs
index 14cd68313..7cf4c2ede 100644
--- a/Ryujinx.Ava/Ui/Windows/IconColorPicker.cs
+++ b/Ryujinx.Ava/Ui/Windows/IconColorPicker.cs
@@ -125,7 +125,7 @@ namespace Ryujinx.Ava.Ui.Windows
public static Bgra32[] GetBuffer(Image image)
{
- return image.DangerousTryGetSinglePixelMemory(out var data) ? data.ToArray() : new Bgra32[0];
+ return image.TryGetSinglePixelSpan(out var data) ? data.ToArray() : new Bgra32[0];
}
private static int GetColorScore(Dictionary dominantColorBin, int maxHitCount, PaletteColor color)
diff --git a/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardRendererBase.cs b/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardRendererBase.cs
index 09f81f0f3..6c0955ecc 100644
--- a/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardRendererBase.cs
+++ b/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardRendererBase.cs
@@ -549,12 +549,12 @@ namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
// Convert the pixel format used in the image to the one used in the Switch surface.
- if (!_surface.DangerousTryGetSinglePixelMemory(out Memory pixels))
+ if (!_surface.TryGetSinglePixelSpan(out Span pixels))
{
return;
}
- _bufferData = MemoryMarshal.AsBytes(pixels.Span).ToArray();
+ _bufferData = MemoryMarshal.AsBytes(pixels).ToArray();
Span dataConvert = MemoryMarshal.Cast(_bufferData);
Debug.Assert(_bufferData.Length == _surfaceInfo.Size);
diff --git a/Ryujinx.HLE/Ryujinx.HLE.csproj b/Ryujinx.HLE/Ryujinx.HLE.csproj
index f5d5042f2..1ec92a449 100644
--- a/Ryujinx.HLE/Ryujinx.HLE.csproj
+++ b/Ryujinx.HLE/Ryujinx.HLE.csproj
@@ -24,7 +24,7 @@
-
+
diff --git a/Ryujinx/Ryujinx.csproj b/Ryujinx/Ryujinx.csproj
index 0fbd7e3a7..31f130c4a 100644
--- a/Ryujinx/Ryujinx.csproj
+++ b/Ryujinx/Ryujinx.csproj
@@ -27,7 +27,7 @@
-
+