From c0fa230abbf8e312a9597c2482fe1f46ea12658a Mon Sep 17 00:00:00 2001 From: morkt Date: Sat, 26 Jul 2014 23:17:55 +0400 Subject: [PATCH] (ArcView): MemoryMappedFile should not dispose underlying file stream itself. --- GameRes/ArcView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameRes/ArcView.cs b/GameRes/ArcView.cs index a2289578..bf050e41 100644 --- a/GameRes/ArcView.cs +++ b/GameRes/ArcView.cs @@ -118,7 +118,7 @@ namespace GameRes { MaxOffset = fs.Length; m_map = MemoryMappedFile.CreateFromFile (fs, null, 0, - MemoryMappedFileAccess.Read, null, HandleInheritability.None, false); + MemoryMappedFileAccess.Read, null, HandleInheritability.None, true); try { View = new Frame (this); } catch {