This commit is contained in:
leathl 2010-01-12 17:36:46 +00:00
parent 6c979e385e
commit 31f1d279b9

View File

@ -86,7 +86,7 @@ namespace CustomizeMiiInstaller
private static MemoryStream LoadCompressedStubInstaller(string installerResourceName) private static MemoryStream LoadCompressedStubInstaller(string installerResourceName)
{ {
using (BinaryReader resLoader = new BinaryReader(System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("Helpers.Resources." + installerResourceName))) using (BinaryReader resLoader = new BinaryReader(System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("CustomizeMiiInstaller.Resources." + installerResourceName)))
{ {
MemoryStream ms = new MemoryStream(); MemoryStream ms = new MemoryStream();
byte[] temp = resLoader.ReadBytes((int)resLoader.BaseStream.Length); byte[] temp = resLoader.ReadBytes((int)resLoader.BaseStream.Length);