X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fharddrive.cpp;h=8dede0d5073ea0925f6de69e8645ea478506e648;hb=695e6c22a404fc7e4141a5c8e5ceda10d48c7fd3;hp=e0fae03773d84576fccc97b370b3dfaa8d241e9e;hpb=e4b94bfc1e03e2c2848ab34e5f0cd8790e10f4b3;p=apple2 diff --git a/src/harddrive.cpp b/src/harddrive.cpp index e0fae03..8dede0d 100644 --- a/src/harddrive.cpp +++ b/src/harddrive.cpp @@ -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;