Skip to content

Commit 8760255

Browse files
committedAug 15, 2021
[#67] Amiga ADF - Disk Image (Part 1: ADF container is an unstructured sequence of raw sector data)
1 parent 67e0e33 commit 8760255

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎Main/src/ImageRaw.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
MAKE_IMAGE_ID('I','m','a','g','e','R','a','w'), // a unique identifier
1414
Recognize, // list of recognized device names
1515
Instantiate, // instantiation function
16-
_T("*.ima") IMAGE_FORMAT_SEPARATOR _T("*.img") IMAGE_FORMAT_SEPARATOR _T("*.dat") IMAGE_FORMAT_SEPARATOR _T("*.bin"), // filter
16+
_T("*.ima") IMAGE_FORMAT_SEPARATOR _T("*.img") IMAGE_FORMAT_SEPARATOR _T("*.dat") IMAGE_FORMAT_SEPARATOR _T("*.bin") IMAGE_FORMAT_SEPARATOR _T("*.adf"), // filter
1717
(Medium::TType)(Medium::FLOPPY_ANY | Medium::HDD_RAW), // supported Media
1818
Codec::ANY, // supported Codecs
1919
1,16384 // Sector supported min and max length

‎Main/src/editor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ openImage: if (image->OnOpenDocument(lpszFileName)){ // if opened successfully .
581581
CImage::PCProperties CRideApp::DoPromptFileName(PTCHAR fileName,bool deviceAccessAllowed,UINT stdStringId,DWORD flags,CImage::PCProperties singleAllowedImage){
582582
// reimplementation of CDocManager::DoPromptFileName
583583
// - creating the list of Filters
584-
TCHAR buf[500],*a=buf; // an "always big enough" buffer
584+
TCHAR buf[2048],*a=buf; // an "always big enough" buffer
585585
DWORD nFilters=0;
586586
if (singleAllowedImage)
587587
// list of Filters consists of only one item

0 commit comments

Comments
 (0)