mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-30 05:34:00 +00:00
Fix C64 targets. Regression.
svn-id: r18411
This commit is contained in:
parent
97337c4623
commit
1844a9c544
@ -139,7 +139,7 @@ void ScummEngine::openRoom(const int room) {
|
||||
}
|
||||
|
||||
// If we have substitute
|
||||
if (_substResFileNameIndex > 0 && !(_platform == Common::kPlatformNES)) {
|
||||
if (_substResFileNameIndex > 0 && !(_platform == Common::kPlatformNES || _platform == Common::kPlatformC64)) {
|
||||
char tmpBuf[128];
|
||||
|
||||
generateSubstResFileName(buf, tmpBuf, sizeof(tmpBuf));
|
||||
@ -230,7 +230,7 @@ bool ScummEngine::openFile(BaseScummFile &file, const char *filename) {
|
||||
file.close();
|
||||
file.open(_containerFile.c_str());
|
||||
assert(file.isOpen());
|
||||
|
||||
|
||||
result = file.openSubFile(filename);
|
||||
}
|
||||
|
||||
|
@ -583,10 +583,10 @@ static SubstResFileNames substResFileNameTable[] = {
|
||||
{ "00.LFL", "Maniac Mansion (F).prg", kGenAsIs },
|
||||
{ "00.LFL", "Maniac Mansion (SW).prg", kGenAsIs },
|
||||
{ "00.LFL", "Maniac Mansion (U).prg", kGenAsIs },
|
||||
{ "00.LFL", "maniac1.d64", kGenAsIs },
|
||||
{ "00.LFL", "zak1.d64", kGenAsIs },
|
||||
{ "01.LFL", "maniac2.d64", kGenAsIs },
|
||||
{ "01.LFL", "zak2.d64", kGenAsIs },
|
||||
{ "00.LFL", "maniac1.d64", kGenAsIs }, // Do not
|
||||
{ "01.LFL", "maniac2.d64", kGenAsIs }, // swap
|
||||
{ "00.LFL", "zak1.d64", kGenAsIs }, // these
|
||||
{ "01.LFL", "zak2.d64", kGenAsIs }, // lines
|
||||
{ "airdemo", "Airport Demo", kGenMac},
|
||||
{ "balloon", "Balloon-O-Rama", kGenMac},
|
||||
{ "baseball", "BaseBall", kGenMac},
|
||||
@ -1600,9 +1600,9 @@ int ScummEngine::init(GameDetector &detector) {
|
||||
_imuse->setBase(res.address[rtSound]);
|
||||
}
|
||||
|
||||
// Since MM NES substitutes whole file class we get monster.sou file
|
||||
// Since MM NES and C64 targets substitute whole file class we get monster.sou file
|
||||
// name badly generated, so avoid even attempts to open it
|
||||
if (!(_platform == Common::kPlatformNES))
|
||||
if (!((_platform == Common::kPlatformNES) || (_platform == Common::kPlatformC64)))
|
||||
_sound->setupSound();
|
||||
|
||||
// Create debugger
|
||||
|
Loading…
Reference in New Issue
Block a user