[Scummvm-git-logs] scummvm master -> 4630a516ebfe4f7460f5a3ce3913f311d2df145e

Scorpeg noreply at scummvm.org
Sat Jul 18 11:20:51 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
4630a516eb PHOENIXVR: Fix variable debugger registration order


Commit: 4630a516ebfe4f7460f5a3ce3913f311d2df145e
    https://github.com/scummvm/scummvm/commit/4630a516ebfe4f7460f5a3ce3913f311d2df145e
Author: Scorp (scorp at mrs.mn)
Date: 2026-07-18T14:19:44+03:00

Commit Message:
PHOENIXVR: Fix variable debugger registration order

Changed paths:
    engines/phoenixvr/phoenixvr.cpp


diff --git a/engines/phoenixvr/phoenixvr.cpp b/engines/phoenixvr/phoenixvr.cpp
index f330c59f30d..2ee40ec106e 100644
--- a/engines/phoenixvr/phoenixvr.cpp
+++ b/engines/phoenixvr/phoenixvr.cpp
@@ -1618,6 +1618,10 @@ Common::Error PhoenixVREngine::run() {
 
 	_screen = new Graphics::Screen();
 	_screenCenter = _screen->getBounds().center();
+
+	// Set the engine's debugger console before declaring script variables.
+	setDebugger(new Console());
+
 	{
 		Common::File vars;
 		if (vars.open(Common::Path("variable.txt"))) {
@@ -1660,9 +1664,6 @@ Common::Error PhoenixVREngine::run() {
 	else
 		setNextScript("script.lst");
 
-	// Set the engine's debugger console
-	setDebugger(new Console());
-
 	// If a savegame was selected from the launcher, load it
 	int saveSlot = ConfMan.getInt("save_slot");
 	if (saveSlot != -1) {




More information about the Scummvm-git-logs mailing list