fix win
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
fd7711aa5d
commit
c45d9a71e8
2 changed files with 3 additions and 4 deletions
|
@ -5,17 +5,16 @@
|
||||||
#include "common/fs/fs.h"
|
#include "common/fs/fs.h"
|
||||||
#include "frontend_common/content_manager.h"
|
#include "frontend_common/content_manager.h"
|
||||||
#include "frontend_common/firmware_manager.h"
|
#include "frontend_common/firmware_manager.h"
|
||||||
#include "qt_common/qt_game_util.h"
|
|
||||||
#include "qt_frontend_util.h"
|
#include "qt_frontend_util.h"
|
||||||
|
|
||||||
#include <JlCompress.h>
|
#include <JlCompress.h>
|
||||||
|
|
||||||
namespace QtCommon::Content {
|
namespace QtCommon::Content {
|
||||||
|
|
||||||
bool CheckGameFirmware(u64 program_id, Core::System &system, QObject *parent)
|
bool CheckGameFirmware(u64 program_id, QObject *parent)
|
||||||
{
|
{
|
||||||
if (FirmwareManager::GameRequiresFirmware(program_id)
|
if (FirmwareManager::GameRequiresFirmware(program_id)
|
||||||
&& !FirmwareManager::CheckFirmwarePresence(system)) {
|
&& !FirmwareManager::CheckFirmwarePresence(*system)) {
|
||||||
auto result = QtCommon::Frontend::ShowMessage(
|
auto result = QtCommon::Frontend::ShowMessage(
|
||||||
QMessageBox::Warning,
|
QMessageBox::Warning,
|
||||||
"Game Requires Firmware",
|
"Game Requires Firmware",
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
namespace QtCommon::Content {
|
namespace QtCommon::Content {
|
||||||
|
|
||||||
//
|
//
|
||||||
bool CheckGameFirmware(u64 program_id, Core::System &system, QObject *parent);
|
bool CheckGameFirmware(u64 program_id, QObject *parent);
|
||||||
|
|
||||||
static constexpr std::array<const char *, 6> FIRMWARE_RESULTS
|
static constexpr std::array<const char *, 6> FIRMWARE_RESULTS
|
||||||
= {"Successfully installed firmware version %1",
|
= {"Successfully installed firmware version %1",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue