1
0
Fork 0

Lock default label of HDD local drive mounts. Fixes label changing to the host drive label when resetting cache on the Windows platform.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4104
This commit is contained in:
ripsaw8080 2018-05-22 15:18:00 +00:00
parent dc5c83eb60
commit ee8103cc23

View file

@ -403,7 +403,7 @@ public:
* This way every drive except cdroms should get a label.*/
else if(type == "dir") {
label = drive; label += "_DRIVE";
newdrive->dirCache.SetLabel(label.c_str(),iscdrom,true);
newdrive->dirCache.SetLabel(label.c_str(),iscdrom,false);
} else if(type == "floppy") {
label = drive; label += "_FLOPPY";
newdrive->dirCache.SetLabel(label.c_str(),iscdrom,true);