fix: compile errors from #11
suyu-ci / reuse (push) Has been cancelled Details
suyu verify / Verify Format (push) Waiting to run Details
suyu verify / test build (linux-fresh, clang) (push) Waiting to run Details
suyu verify / test build (linux-fresh, linux) (push) Waiting to run Details
suyu verify / test build (linux-mingw, windows) (push) Has been cancelled Details
suyu verify / android (push) Has been cancelled Details
codespell / Check for spelling errors (push) Successful in 12s Details

This commit is contained in:
Exverge 2024-03-23 12:23:00 -04:00
parent 15ca12c0ec
commit c6d34f6d77
Signed by: Exverge
GPG Key ID: 19AAFC0AC6A9B35A
1 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@
#include <thread>
#include "core/hle/service/am/applet_manager.h"
#include "core/loader/nca.h"
#include "core/loader/nro.h"
#include "core/tools/renderdoc.h"
#ifdef __APPLE__
@ -1747,7 +1748,7 @@ void GMainWindow::AllowOSSleep() {
}
bool GMainWindow::LoadROM(const QString& filename, Service::AM::FrontendAppletParameters params) {
if (Loader::IdentifyType(Core::GetGameFileFromPath(vfs, filename.toStdString())) !=
if (Loader::AppLoader_NRO::IdentifyType(Core::GetGameFileFromPath(vfs, filename.toStdString())) !=
Loader::FileType::NRO) {
if (!CheckFirmwarePresence()) {
QMessageBox::critical(this, tr("Component Missing"), tr("Missing Firmware."));