Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/fceux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutomerge Bot <bot@example.com>2024-01-17 03:27:25 +0300
committerAutomerge Bot <bot@example.com>2024-01-17 03:27:25 +0300
commit1a1cb12e717813e8814c3e8f86167c179349a9c3 (patch)
tree2d69f58368c8c0909890d3a6000d02aa4fc2b9ab
parentb8efaaaeab102a6614d1f0a08fd4b1fc06a2e839 (diff)
parent9a9f9541d68ab16b8ebdc3dc3836a26882a669d3 (diff)
Merge branch 'master' of https://github.com/TASVideos/fceux into cluster
-rw-r--r--src/drivers/Qt/fceuWrapper.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/Qt/fceuWrapper.cpp b/src/drivers/Qt/fceuWrapper.cpp
index 0aaa73ce..3f9f7272 100644
--- a/src/drivers/Qt/fceuWrapper.cpp
+++ b/src/drivers/Qt/fceuWrapper.cpp
@@ -1478,6 +1478,7 @@ int fceuWrapperUpdate( void )
if ( GameInfo )
{
+#ifdef __FCEU_QSCRIPT_ENABLE__
auto* qscriptMgr = QtScriptManager::getInstance();
bool scriptsLoaded = (qscriptMgr != nullptr) && (qscriptMgr->numScriptsLoaded() > 0);
@@ -1486,13 +1487,16 @@ int fceuWrapperUpdate( void )
{
qscriptMgr->frameBeginUpdate();
}
+#endif
DoFun(frameskip, periodic_saves);
+#ifdef __FCEU_QSCRIPT_ENABLE__
if (scriptsLoaded)
{
qscriptMgr->frameFinishedUpdate();
}
+#endif
hexEditorUpdateMemoryValues();