[Scummvm-git-logs] scummvm master -> 669d2989d0970ed044a597f84c64e152bfd84561

sev- noreply at scummvm.org
Thu Dec 4 14:09:19 UTC 2025


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:
669d2989d0 PINK: Fix regression introduced in 24dcacfe69cff710f600f


Commit: 669d2989d0970ed044a597f84c64e152bfd84561
    https://github.com/scummvm/scummvm/commit/669d2989d0970ed044a597f84c64e152bfd84561
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-12-04T15:08:49+01:00

Commit Message:
PINK: Fix regression introduced in 24dcacfe69cff710f600f

This was leading to crash due to attempt to change const
memory location in serializer

Changed paths:
    engines/pink/pda_mgr.cpp
    engines/pink/pda_mgr.h


diff --git a/engines/pink/pda_mgr.cpp b/engines/pink/pda_mgr.cpp
index cb5f0246c09..eb55f6ab518 100644
--- a/engines/pink/pda_mgr.cpp
+++ b/engines/pink/pda_mgr.cpp
@@ -94,7 +94,7 @@ void PDAMgr::execute(const Command &command) {
 	}
 }
 
-void PDAMgr::goToPage(const Common::String &pageName) {
+void PDAMgr::goToPage(const Common::String pageName) {
 	if (_page && !_page->getName().compareToIgnoreCase(pageName))
 		return;
 
diff --git a/engines/pink/pda_mgr.h b/engines/pink/pda_mgr.h
index 18c20030de4..a7b31e3aad1 100644
--- a/engines/pink/pda_mgr.h
+++ b/engines/pink/pda_mgr.h
@@ -44,7 +44,7 @@ public:
 	void saveState(Archive &archive);
 
 	void execute(const Command &command);
-	void goToPage(const Common::String &pageName);
+	void goToPage(const Common::String pageName);
 
 	void update() { _cursorMgr.update(); }
 




More information about the Scummvm-git-logs mailing list