Commit Graph
3 Commits
Author SHA1 Message Date
Torbjörn Andersson 9d23fa61cc SCUMM: MACGUI: Silence Clang warning
Apparently using Common::String for the parsing method triggers Clang's
"this needs a global destructor" warning. Changing it to an enum takes
care of that, even if the syntax gets a little bit more unwieldy.
2024-11-07 20:15:32 +01:00
Torbjörn Andersson cf74d2db74 SCUMM: MACGUI: Fix invalid read at end of string parsing
Instead of reading the string, then skipping to the next non-empty one,
skip the empty ones first. The result should be the same, and as long as
the final string in the table isn't empty (why should it be?) the result
ought to be the same but without the invalid read.
2024-10-28 08:24:59 +01:00
AndywinXp 4ec15a7932 SCUMM: Move Mac STRS handling to macgui_strings.cpp 2024-10-28 08:24:59 +01:00