From 128006172578390d7c83575f591dbd8df9361e84 Mon Sep 17 00:00:00 2001
From: Zach Hilman
Date: Thu, 30 Aug 2018 16:59:49 -0400
Subject: qt: Add deprecation warnings for DRD format
---
src/yuzu/main.cpp | 10 ++++++++++
1 file changed, 10 insertions(+)
(limited to 'src')
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) {
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.
For an explanation of the various Switch formats yuzu supports, check out our "
+ "wiki."));
+ }
+
render_window->DoneCurrent();
if (result != Core::System::ResultStatus::Success) {
--
cgit v1.2.3