diff options
| -rw-r--r-- | src/core/frontend/applets/general_frontend.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/am/applets/error.cpp | 4 | ||||
| -rw-r--r-- | src/yuzu/main.cpp | 5 | ||||
| -rw-r--r-- | src/yuzu/main.h | 3 |
4 files changed, 11 insertions, 3 deletions
diff --git a/src/core/frontend/applets/general_frontend.cpp b/src/core/frontend/applets/general_frontend.cpp index d2762db96..b974f2289 100644 --- a/src/core/frontend/applets/general_frontend.cpp +++ b/src/core/frontend/applets/general_frontend.cpp | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | // Copyright 2018 yuzu emulator team | 1 | // Copyright 2019 yuzu emulator team |
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
diff --git a/src/core/hle/service/am/applets/error.cpp b/src/core/hle/service/am/applets/error.cpp index df0408edc..fec014f3b 100644 --- a/src/core/hle/service/am/applets/error.cpp +++ b/src/core/hle/service/am/applets/error.cpp | |||
| @@ -41,7 +41,7 @@ struct SystemErrorArg { | |||
| 41 | std::array<char, 0x800> main_text; | 41 | std::array<char, 0x800> main_text; |
| 42 | std::array<char, 0x800> detail_text; | 42 | std::array<char, 0x800> detail_text; |
| 43 | }; | 43 | }; |
| 44 | static_assert(sizeof(SystemErrorArg) == 0x1018, "ApplicationErrorArg has incorrect size."); | 44 | static_assert(sizeof(SystemErrorArg) == 0x1018, "SystemErrorArg has incorrect size."); |
| 45 | 45 | ||
| 46 | struct ApplicationErrorArg { | 46 | struct ApplicationErrorArg { |
| 47 | u8 mode; | 47 | u8 mode; |
| @@ -77,7 +77,7 @@ ResultCode Decode64BitError(u64 error) { | |||
| 77 | return {static_cast<ErrorModule>(module), static_cast<u32>(description)}; | 77 | return {static_cast<ErrorModule>(module), static_cast<u32>(description)}; |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | } // namespace | 80 | } // Anonymous namespace |
| 81 | 81 | ||
| 82 | Error::Error(const Core::Frontend::ErrorApplet& frontend) : frontend(frontend) {} | 82 | Error::Error(const Core::Frontend::ErrorApplet& frontend) : frontend(frontend) {} |
| 83 | 83 | ||
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index c73e78a23..e33e3aaaf 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -1589,6 +1589,11 @@ void GMainWindow::OnLoadComplete() { | |||
| 1589 | loading_screen->OnLoadComplete(); | 1589 | loading_screen->OnLoadComplete(); |
| 1590 | } | 1590 | } |
| 1591 | 1591 | ||
| 1592 | void GMainWindow::ErrorDisplayDisplayError(QString body) { | ||
| 1593 | QMessageBox::critical(this, tr("Error Display"), body); | ||
| 1594 | emit ErrorDisplayFinished(); | ||
| 1595 | } | ||
| 1596 | |||
| 1592 | void GMainWindow::OnMenuReportCompatibility() { | 1597 | void GMainWindow::OnMenuReportCompatibility() { |
| 1593 | if (!Settings::values.yuzu_token.empty() && !Settings::values.yuzu_username.empty()) { | 1598 | if (!Settings::values.yuzu_token.empty() && !Settings::values.yuzu_username.empty()) { |
| 1594 | CompatDB compatdb{this}; | 1599 | CompatDB compatdb{this}; |
diff --git a/src/yuzu/main.h b/src/yuzu/main.h index ce5045819..fb2a193cb 100644 --- a/src/yuzu/main.h +++ b/src/yuzu/main.h | |||
| @@ -102,6 +102,8 @@ signals: | |||
| 102 | // Signal that tells widgets to update icons to use the current theme | 102 | // Signal that tells widgets to update icons to use the current theme |
| 103 | void UpdateThemedIcons(); | 103 | void UpdateThemedIcons(); |
| 104 | 104 | ||
| 105 | void ErrorDisplayFinished(); | ||
| 106 | |||
| 105 | void ProfileSelectorFinishedSelection(std::optional<Service::Account::UUID> uuid); | 107 | void ProfileSelectorFinishedSelection(std::optional<Service::Account::UUID> uuid); |
| 106 | void SoftwareKeyboardFinishedText(std::optional<std::u16string> text); | 108 | void SoftwareKeyboardFinishedText(std::optional<std::u16string> text); |
| 107 | void SoftwareKeyboardFinishedCheckDialog(); | 109 | void SoftwareKeyboardFinishedCheckDialog(); |
| @@ -111,6 +113,7 @@ signals: | |||
| 111 | 113 | ||
| 112 | public slots: | 114 | public slots: |
| 113 | void OnLoadComplete(); | 115 | void OnLoadComplete(); |
| 116 | void ErrorDisplayDisplayError(QString body); | ||
| 114 | void ProfileSelectorSelectProfile(); | 117 | void ProfileSelectorSelectProfile(); |
| 115 | void SoftwareKeyboardGetText(const Core::Frontend::SoftwareKeyboardParameters& parameters); | 118 | void SoftwareKeyboardGetText(const Core::Frontend::SoftwareKeyboardParameters& parameters); |
| 116 | void SoftwareKeyboardInvokeCheckDialog(std::u16string error_message); | 119 | void SoftwareKeyboardInvokeCheckDialog(std::u16string error_message); |