[Scummvm-git-logs] scummvm master -> cbff0c4d35ce394096578cde9fe3e3269de1925d

ccawley2011 ccawley2011 at gmail.com
Mon Nov 23 12:25:12 UTC 2020


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

Summary:
cbff0c4d35 DC: Attempt to fix compilation


Commit: cbff0c4d35ce394096578cde9fe3e3269de1925d
    https://github.com/scummvm/scummvm/commit/cbff0c4d35ce394096578cde9fe3e3269de1925d
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2020-11-23T12:24:54Z

Commit Message:
DC: Attempt to fix compilation

Changed paths:
    backends/platform/dc/dcmain.cpp
    backends/platform/dc/vmsave.cpp


diff --git a/backends/platform/dc/dcmain.cpp b/backends/platform/dc/dcmain.cpp
index 4745b0781a..cd2330c526 100644
--- a/backends/platform/dc/dcmain.cpp
+++ b/backends/platform/dc/dcmain.cpp
@@ -37,7 +37,7 @@
 
 
 Icon icon;
-const char gGameName[32];
+char gGameName[32];
 
 
 OSystem_Dreamcast::OSystem_Dreamcast()
@@ -145,7 +145,7 @@ bool DCCDManager::isPlaying() const {
 
 void OSystem_Dreamcast::setWindowCaption(const Common::U32String &caption)
 {
-  Common::strlcpy(gGameName, cap.encode(Common::kISO8859_1).c_str(), 32);
+  Common::strlcpy(gGameName, caption.encode(Common::kISO8859_1).c_str(), 32);
 }
 
 void OSystem_Dreamcast::quit() {
diff --git a/backends/platform/dc/vmsave.cpp b/backends/platform/dc/vmsave.cpp
index 35e7363b89..aaff2c241b 100644
--- a/backends/platform/dc/vmsave.cpp
+++ b/backends/platform/dc/vmsave.cpp
@@ -340,7 +340,7 @@ public:
 
 void OutVMSave::finalize()
 {
-  extern const char gGameName[32];
+  extern char gGameName[32];
   extern Icon icon;
 
   if (committed >= _pos)




More information about the Scummvm-git-logs mailing list