aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-08-30 16:59:49 -0400
committerZach Hilman <zachhilman@gmail.com>2018-09-04 14:29:19 -0400
commit128006172578390d7c83575f591dbd8df9361e84 (patch)
treee52d5f6299c98e7f5f67b534b280cde8e9256e6d /src/yuzu/main.cpp
parent8974771334aceaaba0912887dacfd3eb1eb0bee6 (diff)
qt: Add deprecation warnings for DRD format
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index d7c5d813fa..037bf2aef4 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -488,6 +488,16 @@ bool GMainWindow::LoadROM(const QString& filename) {
const Core::System::ResultStatus result{system.Load(*render_window, filename.toStdString())};
+ if (system.GetAppLoader().GetFileType() == Loader::FileType::DeconstructedRomDirectory) {
+ QMessageBox::warning(
+ this, tr("Warning Outdated Game Format"),
+ tr("You are using the deconstructed ROM directory format for this game, which is an "
+ "outdated format that has been superseded by others such as NCA, NAX, XCI, or "
+ "NSP.<br><br>For an explanation of the various Switch formats yuzu supports, <a "
+ "href='https://yuzu-emu.org/wiki/overview-of-switch-game-formats'>check out our "
+ "wiki</a>."));
+ }
+
render_window->DoneCurrent();
if (result != Core::System::ResultStatus::Success) {