]> Shamusworld >> Repos - apple2/blobdiff - src/harddrive.cpp
Miscellaneous bugfixes.
[apple2] / src / harddrive.cpp
index e0fae03773d84576fccc97b370b3dfaa8d241e9e..8dede0d5073ea0925f6de69e8645ea478506e648 100644 (file)
@@ -618,7 +618,7 @@ void InstallHardDrive(uint8_t slot)
 {
        SlotData hd = { SlotIOR, SlotIOW, SlotROM, 0, SlotIOExtraR, SlotIOExtraW };
        InstallSlotHandler(slot, &hd);
-       char fnBuf[MAX_PATH + 1];
+       char fnBuf[(MAX_PATH * 2) + 1];
 
        // If this fails to read the file, the pointer is set to NULL
        uint32_t size = 0, skip = (uint32_t)-1;