[Scummvm-git-logs] scummvm branch-3-0 -> 3d70855f5aa2e065151be3095b66f669882dcf4a
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:
3d70855f5a PINK: Fix regression introduced in 24dcacfe69cff710f600f
Commit: 3d70855f5aa2e065151be3095b66f669882dcf4a
https://github.com/scummvm/scummvm/commit/3d70855f5aa2e065151be3095b66f669882dcf4a
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-12-04T15:09:09+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