Ryujinx/Ryujinx.Graphics/Gal/EmbeddedResource.cs
Alex Barney 1f554c1093 Do naming refactoring on Ryujinx.Graphics (#611)
* Renaming part 1

* Renaming part 2

* Renaming part 3

* Renaming part 4

* Renaming part 5

* Renaming part 6

* Renaming part 7

* Renaming part 8

* Renaming part 9

* Renaming part 10

* General cleanup

* Thought I got all of these

* Apply #595

* Additional renaming

* Tweaks from feedback

* Rename files
2019-03-04 12:45:25 +11:00

20 lines
472 B
C#

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();
}
}
}
}