mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix non-GB build
This commit is contained in:
parent
565e280bf6
commit
75f6ff85d5
|
@ -14,6 +14,9 @@ extern "C" {
|
||||||
#include "gba/sio/lockstep.h"
|
#include "gba/sio/lockstep.h"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct GBSIOLockstepNode;
|
||||||
|
struct GBASIOLockstepNode;
|
||||||
|
|
||||||
namespace QGBA {
|
namespace QGBA {
|
||||||
|
|
||||||
class GameController;
|
class GameController;
|
||||||
|
|
|
@ -26,8 +26,10 @@ extern "C" {
|
||||||
|
|
||||||
using namespace QGBA;
|
using namespace QGBA;
|
||||||
|
|
||||||
|
#ifdef M_CORE_GB
|
||||||
QList<enum GBModel> OverrideView::s_gbModelList;
|
QList<enum GBModel> OverrideView::s_gbModelList;
|
||||||
QList<enum GBMemoryBankControllerType> OverrideView::s_mbcList;
|
QList<enum GBMemoryBankControllerType> OverrideView::s_mbcList;
|
||||||
|
#endif
|
||||||
|
|
||||||
OverrideView::OverrideView(GameController* controller, ConfigController* config, QWidget* parent)
|
OverrideView::OverrideView(GameController* controller, ConfigController* config, QWidget* parent)
|
||||||
: QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint)
|
: QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint)
|
||||||
|
|
Loading…
Reference in New Issue