diff options
| author | 2018-08-30 16:59:49 -0400 | |
|---|---|---|
| committer | 2018-09-04 14:29:19 -0400 | |
| commit | 128006172578390d7c83575f591dbd8df9361e84 (patch) | |
| tree | e52d5f6299c98e7f5f67b534b280cde8e9256e6d /src | |
| parent | registration: Fix NSP installation errors (diff) | |
| download | yuzu-128006172578390d7c83575f591dbd8df9361e84.tar.gz yuzu-128006172578390d7c83575f591dbd8df9361e84.tar.xz yuzu-128006172578390d7c83575f591dbd8df9361e84.zip | |
qt: Add deprecation warnings for DRD format
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/main.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index d7c5d813f..037bf2aef 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -488,6 +488,16 @@ bool GMainWindow::LoadROM(const QString& filename) { | |||
| 488 | 488 | ||
| 489 | const Core::System::ResultStatus result{system.Load(*render_window, filename.toStdString())}; | 489 | const Core::System::ResultStatus result{system.Load(*render_window, filename.toStdString())}; |
| 490 | 490 | ||
| 491 | if (system.GetAppLoader().GetFileType() == Loader::FileType::DeconstructedRomDirectory) { | ||
| 492 | QMessageBox::warning( | ||
| 493 | this, tr("Warning Outdated Game Format"), | ||
| 494 | tr("You are using the deconstructed ROM directory format for this game, which is an " | ||
| 495 | "outdated format that has been superseded by others such as NCA, NAX, XCI, or " | ||
| 496 | "NSP.<br><br>For an explanation of the various Switch formats yuzu supports, <a " | ||
| 497 | "href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our " | ||
| 498 | "wiki</a>.")); | ||
| 499 | } | ||
| 500 | |||
| 491 | render_window->DoneCurrent(); | 501 | render_window->DoneCurrent(); |
| 492 | 502 | ||
| 493 | if (result != Core::System::ResultStatus::Success) { | 503 | if (result != Core::System::ResultStatus::Success) { |