1
0
Fork 0
forked from suyu/suyu

fix: compile errors from #11

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

View file

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