mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 16:03:24 +00:00
KYRA: fix mt-32 sysex loading for LOL floppy
svn-id: r35434
This commit is contained in:
parent
91e386c584
commit
83194b2188
@ -91,6 +91,11 @@ bool Resource::reset() {
|
|||||||
} else if (_vm->game() == GI_LOL) {
|
} else if (_vm->game() == GI_LOL) {
|
||||||
if (_vm->gameFlags().useInstallerPackage)
|
if (_vm->gameFlags().useInstallerPackage)
|
||||||
_files.add("installer", loadInstallerArchive("WESTWOOD", "%d", 0), 2, false);
|
_files.add("installer", loadInstallerArchive("WESTWOOD", "%d", 0), 2, false);
|
||||||
|
|
||||||
|
// mouse pointer, fonts, etc. required for initializing
|
||||||
|
loadPakFile("general.pak");
|
||||||
|
if (_vm->gameFlags().isTalkie)
|
||||||
|
loadPakFile("startup.pak");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -138,7 +138,7 @@ Common::SeekableReadStream *CachedArchive::openFile(const Common::String &name)
|
|||||||
|
|
||||||
bool ResLoaderPak::checkFilename(Common::String filename) const {
|
bool ResLoaderPak::checkFilename(Common::String filename) const {
|
||||||
filename.toUppercase();
|
filename.toUppercase();
|
||||||
return (filename.hasSuffix(".PAK") || filename.hasSuffix(".APK") || filename.hasSuffix(".VRM") || filename.hasSuffix(".TLK") || filename.equalsIgnoreCase(StaticResource::staticDataFilename()));
|
return (filename.hasSuffix(".PAK") || filename.hasSuffix(".APK") || filename.hasSuffix(".VRM") || filename.hasSuffix(".CMP") || filename.hasSuffix(".TLK") || filename.equalsIgnoreCase(StaticResource::staticDataFilename()));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ResLoaderPak::isLoadable(const Common::String &filename, Common::SeekableReadStream &stream) const {
|
bool ResLoaderPak::isLoadable(const Common::String &filename, Common::SeekableReadStream &stream) const {
|
||||||
|
@ -515,8 +515,10 @@ bool SoundMidiPC::init() {
|
|||||||
|
|
||||||
if (_vm->gameFlags().isTalkie)
|
if (_vm->gameFlags().isTalkie)
|
||||||
pakFile = "ENG/STARTUP.PAK";
|
pakFile = "ENG/STARTUP.PAK";
|
||||||
|
else if (_vm->gameFlags().useInstallerPackage)
|
||||||
|
pakFile = "INTROVOC.CMP";
|
||||||
else
|
else
|
||||||
pakFile = "STARTUP.PAK";
|
pakFile = "INTROVOC.PAK";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!midiFile)
|
if (!midiFile)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user