Replacing Abstract Types with Concrete Types

This commit is contained in:
Marco Carvalho 2024-04-07 15:58:41 -03:00
parent 7969fb6bba
commit 231fb01dc1
41 changed files with 103 additions and 90 deletions

View file

@ -5,6 +5,7 @@ using Ryujinx.Graphics.Shader;
using Ryujinx.Graphics.Shader.Translation;
using System.Collections.Generic;
using System.IO;
using Microsoft.IO;
namespace Ryujinx.Graphics.Gpu.Shader.DiskCache
{
@ -12,7 +13,7 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache
{
public static byte[] Pack(ShaderSource[] sources)
{
using MemoryStream output = MemoryStreamManager.Shared.GetStream();
using RecyclableMemoryStream output = MemoryStreamManager.Shared.GetStream();
output.Write(sources.Length);