mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(ArcView): MemoryMappedFile should not dispose underlying file stream itself.
This commit is contained in:
parent
71e985c2c9
commit
c0fa230abb
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user