projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NTVDM]: Update the read/write flag of the mounted image: fixes errors when trying...
[reactos.git]
/
reactos
/
subsystems
/
mvdm
/
ntvdm
/
hardware
/
disk.c
diff --git
a/reactos/subsystems/mvdm/ntvdm/hardware/disk.c
b/reactos/subsystems/mvdm/ntvdm/hardware/disk.c
index
35009c0
..
6c67312
100644
(file)
--- a/
reactos/subsystems/mvdm/ntvdm/hardware/disk.c
+++ b/
reactos/subsystems/mvdm/ntvdm/hardware/disk.c
@@
-581,6
+581,10
@@
MountDisk(IN DISK_TYPE DiskType,
DisplayMessage(L"MountDisk: Failed to mount disk file '%S' in 0x%p.", FileName, DiskImage);
goto Quit;
}
+
+ /* Update its read/write state */
+ DiskImage->ReadOnly = ReadOnly;
+
Success = TRUE;
Quit: