mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 10:09:36 -06:00
Merge pull request #10146 from JosJuice/nkit-convert-warning
DolphinQt/Android: Add warning when converting NKit files
This commit is contained in:
@ -329,6 +329,21 @@ void ConvertDialog::Convert()
|
||||
}
|
||||
}
|
||||
|
||||
if (std::any_of(m_files.begin(), m_files.end(), std::mem_fn(&UICommon::GameFile::IsNKit)))
|
||||
{
|
||||
if (!ShowAreYouSureDialog(
|
||||
tr("Dolphin can't convert NKit files to non-NKit files. Converting an NKit file in "
|
||||
"Dolphin will result in another NKit file.\n"
|
||||
"\n"
|
||||
"If you want to convert an NKit file to a non-NKit file, you can use the same "
|
||||
"program as you originally used when converting the file to the NKit format.\n"
|
||||
"\n"
|
||||
"Do you want to continue anyway?")))
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
QString extension;
|
||||
QString filter;
|
||||
switch (format)
|
||||
|
@ -106,6 +106,7 @@ public:
|
||||
u64 GetVolumeSize() const { return m_volume_size; }
|
||||
bool IsVolumeSizeAccurate() const { return m_volume_size_is_accurate; }
|
||||
bool IsDatelDisc() const { return m_is_datel_disc; }
|
||||
bool IsNKit() const { return m_is_nkit; }
|
||||
const GameBanner& GetBannerImage() const;
|
||||
const GameCover& GetCoverImage() const;
|
||||
void DoState(PointerWrap& p);
|
||||
|
Reference in New Issue
Block a user