Modified SAGA engine to use DetectedGame::updateDesc (note: there is a new TODO in the saveload code now)
svn-id: r21171
This commit is contained in:
parent
783264fe28
commit
aad520026c
3 changed files with 48 additions and 36 deletions
|
@ -185,7 +185,14 @@ void SagaEngine::save(const char *fileName, const char *saveName) {
|
|||
|
||||
// Original game title
|
||||
memset(title, 0, TITLESIZE);
|
||||
strncpy(title, getGameDescription()->title, TITLESIZE);
|
||||
// TODO: This used to include the full title. I (Fingolfin) don't understand
|
||||
// the purpose of saving this information here, which is why I am not
|
||||
// changing it at the moment (it seems to *only* be used in a debug() call
|
||||
// when loading). If desired, the full description string could be saved here
|
||||
// again (as it used to be), ideally by computing it once and storing it in
|
||||
// a member variable.
|
||||
// If desired, I can implement it, it just didn't seem worth the effort.
|
||||
strncpy(title, getGameDescription()->extra, TITLESIZE);
|
||||
out->write(title, TITLESIZE);
|
||||
|
||||
// Surrounding scene
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue