Compare commits

...

8 Commits

Author SHA1 Message Date
null equal 33fa09d17e Merge branch 'dev' into 'dev'
Allow homebrew to bypass the firmware & key check

See merge request suyu-emu/suyu!191
2024-03-21 07:11:32 +00:00
Miguel Rodriguez d12b127c45 chore: fix CI to use string "true" for FASTZIP 2024-03-21 07:09:11 +00:00
995 383a243aa7 Update README.md 2024-03-20 21:53:10 +00:00
null equal f4f0c11679 add the "Modified by" comment 2024-03-19 19:40:06 +00:00
null equal ee2b433ca2 Merge branch suyu:dev into dev 2024-03-19 19:33:03 +00:00
null equal 70681d6bf9 Merge branch suyu:dev into dev 2024-03-19 16:03:15 +00:00
null equal 0b29208b03 fix for clang format 2024-03-19 12:37:21 +00:00
null equal f7aa7ecd93 allow homebrew to bypass firmware/keys check 2024-03-19 11:55:16 +00:00
3 changed files with 22 additions and 16 deletions

View File

@ -8,9 +8,9 @@ variables:
ARTIFACT_COMPRESSION_LEVEL: "fast"
CACHE_COMPRESSION_LEVEL: "fastest"
CACHE_REQUEST_TIMEOUT: 5
# Use FASTZIP for faster compression in cache and artifacts
# Use FASTZIP for faster compression in cache and artifacts (boolean)
# https://docs.gitlab.com/runner/configuration/feature-flags.html#available-feature-flags
FF_USE_FASTZIP: true
FF_USE_FASTZIP: 1
# Our Variables
CACHE_DIR: "$CI_PROJECT_DIR/ccache"

View File

@ -51,10 +51,12 @@ You can also contact any of the developers on Discord to learn more about the cu
## Downloads
* __Windows__: WIP
* __Linux__: WIP
* __Windows__: [Releases](https://gitlab.com/suyu-emu/suyu/-/releases)
* __Linux__: [Releases](https://gitlab.com/suyu-emu/suyu/-/releases)
* __macOS__: [Releases](https://gitlab.com/suyu-emu/suyu/-/releases)
* __Android__: [Releases](https://gitlab.com/suyu-emu/suyu/-/releases)
We don't have any official builds yet! If any website or person is claiming to have a build for suyu, take that with a grain of salt, because it might contain malware. Until we do have an official build, it might be a better idea to keep using the last version of yuzu.
We have official builds [here.](https://gitlab.com/suyu-emu/suyu/-/releases) If any website or person is claiming to have a build for suyu, take that with a grain of salt.
## Building

View File

@ -2,6 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
// Modified by palfaiate on <2024/03/07>
// Modified by nullequal on <2024/03/19>
#include <cinttypes>
#include <clocale>
@ -1747,18 +1748,21 @@ void GMainWindow::AllowOSSleep() {
}
bool GMainWindow::LoadROM(const QString& filename, Service::AM::FrontendAppletParameters params) {
if (!CheckFirmwarePresence()) {
QMessageBox::critical(this, tr("Component Missing"), tr("Missing Firmware."));
return false;
}
if (Loader::IdentifyFile(Core::GetGameFileFromPath(vfs, filename.toStdString())) !=
Loader::FileType::NRO) {
if (!CheckFirmwarePresence()) {
QMessageBox::critical(this, tr("Component Missing"), tr("Missing Firmware."));
return false;
}
if (!ContentManager::AreKeysPresent()) {
QMessageBox::warning(this, tr("Derivation Components Missing"),
tr("Encryption keys are missing. "
"In order to use this emulator"
"you need to provide your own encryption keys"
"in order to play them."));
return false;
if (!ContentManager::AreKeysPresent()) {
QMessageBox::warning(this, tr("Derivation Components Missing"),
tr("Encryption keys are missing. "
"In order to use this emulator"
"you need to provide your own encryption keys"
"in order to play them."));
return false;
}
}
// Shutdown previous session if the emu thread is still active...