Somewhat better NvFlinger (I guess) (fixes #30)

This commit is contained in:
gdkchan 2018-02-23 18:48:27 -03:00
parent eafc58c9f2
commit 2ed733b1d5
14 changed files with 820 additions and 444 deletions

View file

@ -0,0 +1,20 @@
using System.IO;
using System.Reflection;
namespace Ryujinx.Graphics.Gal
{
static class EmbeddedResource
{
public static string GetString(string Name)
{
Assembly Asm = typeof(EmbeddedResource).Assembly;
using (Stream ResStream = Asm.GetManifestResourceStream(Name))
{
StreamReader Reader = new StreamReader(ResStream);
return Reader.ReadToEnd();
}
}
}
}