Qt: Fix non-GB build

This commit is contained in:
Jeffrey Pfau 2017-01-04 15:47:08 -08:00 committed by Vicki Pfau
parent 565e280bf6
commit 75f6ff85d5
2 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,9 @@ extern "C" {
#include "gba/sio/lockstep.h"
}
struct GBSIOLockstepNode;
struct GBASIOLockstepNode;
namespace QGBA {
class GameController;

View File

@ -26,8 +26,10 @@ extern "C" {
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)