mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-21 22:32:47 +01:00
fix: compile errors from #11
This commit is contained in:
parent
15ca12c0ec
commit
c6d34f6d77
1 changed files with 2 additions and 1 deletions
|
@ -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."));
|
||||||
|
|
Loading…
Reference in a new issue