Qt: Fix non-GB build
Jeffrey Pfau jeffrey@endrift.com
Wed, 04 Jan 2017 15:47:08 -0800
2 files changed,
5 insertions(+),
0 deletions(-)
M
src/platform/qt/MultiplayerController.h
→
src/platform/qt/MultiplayerController.h
@@ -18,6 +18,9 @@ #ifdef M_CORE_GB
#include <mgba/internal/gb/sio/lockstep.h> #endif +struct GBSIOLockstepNode; +struct GBASIOLockstepNode; + namespace QGBA { class GameController;
M
src/platform/qt/OverrideView.cpp
→
src/platform/qt/OverrideView.cpp
@@ -22,8 +22,10 @@ #endif
using namespace QGBA; +#ifdef M_CORE_GB QList<enum GBModel> OverrideView::s_gbModelList; QList<enum GBMemoryBankControllerType> OverrideView::s_mbcList; +#endif OverrideView::OverrideView(GameController* controller, ConfigController* config, QWidget* parent) : QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint)