mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Common/FatFsUtil: Add callback for cancelling SD card conversion.
This commit is contained in:
@ -228,7 +228,7 @@ void WiiPane::CreateSDCard()
|
||||
QMessageBox::Yes | QMessageBox::No);
|
||||
if (result == QMessageBox::Yes)
|
||||
{
|
||||
if (!Common::SyncSDFolderToSDImage(false))
|
||||
if (!Common::SyncSDFolderToSDImage([]() { return false; }, false))
|
||||
ModalMessageBox::warning(this, tr("Convert Folder to File Now"), tr("Conversion failed."));
|
||||
}
|
||||
});
|
||||
@ -242,7 +242,7 @@ void WiiPane::CreateSDCard()
|
||||
QMessageBox::Yes | QMessageBox::No);
|
||||
if (result == QMessageBox::Yes)
|
||||
{
|
||||
if (!Common::SyncSDImageToSDFolder())
|
||||
if (!Common::SyncSDImageToSDFolder([]() { return false; }))
|
||||
ModalMessageBox::warning(this, tr("Convert File to Folder Now"), tr("Conversion failed."));
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user