make zak use correct charset
svn-id: r6945
This commit is contained in:
parent
5a29b639ff
commit
13ca8ea76c
2 changed files with 7 additions and 5 deletions
|
@ -184,8 +184,11 @@ void Scumm_v3::loadCharset(int no) {
|
|||
File file;
|
||||
char buf[20];
|
||||
|
||||
if (_gameId == GID_ZAK256)
|
||||
sprintf(buf, "%02d.LFL", 98 + no);
|
||||
else
|
||||
sprintf(buf, "%02d.LFL", 99 - no);
|
||||
// sprintf(buf, "%02d.LFL", 98 + no);
|
||||
|
||||
file.open(buf, _gameDataPath);
|
||||
|
||||
if (file.isOpen() == false) {
|
||||
|
|
|
@ -749,10 +749,9 @@ void Scumm::addStringToStack(int var) {
|
|||
void Scumm::initCharset(int charsetno) {
|
||||
int i;
|
||||
|
||||
if (_gameId == GID_ZAK256) {
|
||||
debug(0, "initCharset: FIXME using incorrect charset");
|
||||
// FIXME why is this required? see also Scumm_v3::loadCharset
|
||||
if (_gameId == GID_ZAK256)
|
||||
charsetno = !charsetno;
|
||||
}
|
||||
|
||||
if (_features & GF_SMALL_HEADER)
|
||||
loadCharset(charsetno);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue