From be4d1f73588a0b17747b6b35231df4a24efdee50 Mon Sep 17 00:00:00 2001 From: crueter Date: Sat, 30 Aug 2025 20:08:30 -0400 Subject: [PATCH] fix win Signed-off-by: crueter --- src/qt_common/qt_content_util.cpp | 5 ++--- src/qt_common/qt_content_util.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/qt_common/qt_content_util.cpp b/src/qt_common/qt_content_util.cpp index 9c3ae6e115..5ad361a527 100644 --- a/src/qt_common/qt_content_util.cpp +++ b/src/qt_common/qt_content_util.cpp @@ -5,17 +5,16 @@ #include "common/fs/fs.h" #include "frontend_common/content_manager.h" #include "frontend_common/firmware_manager.h" -#include "qt_common/qt_game_util.h" #include "qt_frontend_util.h" #include 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) - && !FirmwareManager::CheckFirmwarePresence(system)) { + && !FirmwareManager::CheckFirmwarePresence(*system)) { auto result = QtCommon::Frontend::ShowMessage( QMessageBox::Warning, "Game Requires Firmware", diff --git a/src/qt_common/qt_content_util.h b/src/qt_common/qt_content_util.h index b7073d2d35..529b887146 100644 --- a/src/qt_common/qt_content_util.h +++ b/src/qt_common/qt_content_util.h @@ -12,7 +12,7 @@ namespace QtCommon::Content { // -bool CheckGameFirmware(u64 program_id, Core::System &system, QObject *parent); +bool CheckGameFirmware(u64 program_id, QObject *parent); static constexpr std::array FIRMWARE_RESULTS = {"Successfully installed firmware version %1",