mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-23 16:15:47 +00:00
1f554c1093
* 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
20 lines
No EOL
472 B
C#
20 lines
No EOL
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();
|
|
}
|
|
}
|
|
}
|
|
} |