1
0
Fork 0

Correct small error/warning.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4073
This commit is contained in:
Peter Veenstra 2018-01-31 18:21:54 +00:00
parent f7ae7a1dbe
commit 5cb34a071d

View file

@ -715,7 +715,7 @@ bool CMscdex::GetDirectoryEntry(Bit16u drive, bool copyFlag, PhysPt pathname, Ph
do {
entryLength = mem_readb(defBuffer+index);
if (entryLength==0) break;
if (mem_readb(defBuffer+index+iso ? 0x19:0x18) & 4) {
if (mem_readb(defBuffer + index + (iso?0x19:0x18) ) & 4) {
// skip associated files
index += entryLength;
continue;