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;
|
File file;
|
||||||
char buf[20];
|
char buf[20];
|
||||||
|
|
||||||
|
if (_gameId == GID_ZAK256)
|
||||||
|
sprintf(buf, "%02d.LFL", 98 + no);
|
||||||
|
else
|
||||||
sprintf(buf, "%02d.LFL", 99 - no);
|
sprintf(buf, "%02d.LFL", 99 - no);
|
||||||
// sprintf(buf, "%02d.LFL", 98 + no);
|
|
||||||
file.open(buf, _gameDataPath);
|
file.open(buf, _gameDataPath);
|
||||||
|
|
||||||
if (file.isOpen() == false) {
|
if (file.isOpen() == false) {
|
||||||
|
|
|
@ -749,10 +749,9 @@ void Scumm::addStringToStack(int var) {
|
||||||
void Scumm::initCharset(int charsetno) {
|
void Scumm::initCharset(int charsetno) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (_gameId == GID_ZAK256) {
|
// FIXME why is this required? see also Scumm_v3::loadCharset
|
||||||
debug(0, "initCharset: FIXME using incorrect charset");
|
if (_gameId == GID_ZAK256)
|
||||||
charsetno = !charsetno;
|
charsetno = !charsetno;
|
||||||
}
|
|
||||||
|
|
||||||
if (_features & GF_SMALL_HEADER)
|
if (_features & GF_SMALL_HEADER)
|
||||||
loadCharset(charsetno);
|
loadCharset(charsetno);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue