SCUMM: Invalid charset id can be stored
|Reported by:||Kirben||Owned by:||sev-|
ScummVM 0.12.0svn (Apr 18 2008 11:43:55) Compiled under mingw with GCC 4.2.1-dw2 Running on Windows XP Media Center 2005 Edition English DOS version of puttputt. English DOS version of puttmoon.
An invalid charset id can be stored, when saving games under SCUMM engine. Specifically a charset id of zero can be stored, if a charset has not been loaded, before the game is saved. And charset zero might not actually exist in the data files.
In particular skipping the introduction of puttmoon or puttputt (DOS versions), saving, and reloading will trigger error. As a charset id of zero is been stored, which doesn't actually exist in data files.
The saving of charset id was added to saved games in revision 26947, by sev.
Ticket imported from: #1945335. Ticket imported from: bugs/3703.