mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-09-10 13:43:17 +02:00
![Alex Barney](/assets/img/avatar_default.png)
* 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
472 B
C#
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();
|
|
}
|
|
}
|
|
}
|
|
} |