add bin and elf to picker as they now work

This commit is contained in:
tunip3 2022-08-16 11:34:55 +01:00 committed by GitHub
parent d7d04cd852
commit b7dc1379c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -451,8 +451,8 @@ void System_SendMessage(const char *command, const char *parameter) {
picker->FileTypeFilter->Append(".iso");
// Can't load these this way currently, they require mounting the underlying folder.
// picker->FileTypeFilter->Append(".bin");
// picker->FileTypeFilter->Append(".elf");
picker->FileTypeFilter->Append(".bin");
picker->FileTypeFilter->Append(".elf");
picker->SuggestedStartLocation = Pickers::PickerLocationId::DocumentsLibrary;
create_task(picker->PickSingleFileAsync()).then([](StorageFile ^file){