mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix build without json-c
This commit is contained in:
parent
123532ed6e
commit
466639ee31
|
@ -301,7 +301,9 @@ void ScriptingController::detachGamepad() {
|
|||
void ScriptingController::init() {
|
||||
mScriptContextInit(&m_scriptContext);
|
||||
mScriptContextAttachStdlib(&m_scriptContext);
|
||||
#ifdef USE_JSON_C
|
||||
mScriptContextAttachStorage(&m_scriptContext);
|
||||
#endif
|
||||
mScriptContextAttachSocket(&m_scriptContext);
|
||||
mScriptContextAttachInput(&m_scriptContext);
|
||||
mScriptContextRegisterEngines(&m_scriptContext);
|
||||
|
|
Loading…
Reference in New Issue