From 75f6ff85d533d3c871f5708321913548f54f238c Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Wed, 4 Jan 2017 15:47:08 -0800 Subject: [PATCH] Qt: Fix non-GB build --- src/platform/qt/MultiplayerController.h | 3 +++ src/platform/qt/OverrideView.cpp | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/platform/qt/MultiplayerController.h b/src/platform/qt/MultiplayerController.h index 166fa83c0..eaf8c013a 100644 --- a/src/platform/qt/MultiplayerController.h +++ b/src/platform/qt/MultiplayerController.h @@ -14,6 +14,9 @@ extern "C" { #include "gba/sio/lockstep.h" } +struct GBSIOLockstepNode; +struct GBASIOLockstepNode; + namespace QGBA { class GameController; diff --git a/src/platform/qt/OverrideView.cpp b/src/platform/qt/OverrideView.cpp index 249baac52..e27a85cfb 100644 --- a/src/platform/qt/OverrideView.cpp +++ b/src/platform/qt/OverrideView.cpp @@ -26,8 +26,10 @@ extern "C" { using namespace QGBA; +#ifdef M_CORE_GB QList OverrideView::s_gbModelList; QList OverrideView::s_mbcList; +#endif OverrideView::OverrideView(GameController* controller, ConfigController* config, QWidget* parent) : QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint)