summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/w_file_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w_file_win32.c b/src/w_file_win32.c
index 0ec6b56c..05d3c445 100644
--- a/src/w_file_win32.c
+++ b/src/w_file_win32.c
@@ -61,7 +61,7 @@ static void MapFile(win32_wad_file_t *wad, char *filename)
}
wad->wad.mapped = MapViewOfFile(wad->handle_map,
- FILE_MAP_ALL_ACCESS,
+ FILE_MAP_COPY,
0, 0, 0);
if (wad->wad.mapped == NULL)