aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorTravis Howell2010-04-02 13:49:59 +0000
committerTravis Howell2010-04-02 13:49:59 +0000
commit7e1f395e34ac83cad4df6268f2465adebe7b1abe (patch)
tree3247fb6a9792e4d0b97e03ca92a5b7b6448cee59 /engines/parallaction
parent615378ca1135231a2e4bf48113b77430a49e4671 (diff)
downloadscummvm-rg350-7e1f395e34ac83cad4df6268f2465adebe7b1abe.tar.gz
scummvm-rg350-7e1f395e34ac83cad4df6268f2465adebe7b1abe.tar.bz2
scummvm-rg350-7e1f395e34ac83cad4df6268f2465adebe7b1abe.zip
Fix bug #2969232 - NIPPON: Kos sprite broken (Regression). The current disk archive requires a higher priority, compared to the default disk archives.
svn-id: r48469
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/disk_ns.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/parallaction/disk_ns.cpp b/engines/parallaction/disk_ns.cpp
index 91df44e83d..c4bc8ab4f7 100644
--- a/engines/parallaction/disk_ns.cpp
+++ b/engines/parallaction/disk_ns.cpp
@@ -161,7 +161,7 @@ Common::ArchiveMemberPtr NSArchive::getMember(const Common::String &name) {
}
-#define HIGHEST_PRIORITY 9
+#define HIGHEST_PRIORITY 9
#define NORMAL_ARCHIVE_PRIORITY 5
#define LOW_ARCHIVE_PRIORITY 2
#define LOWEST_ARCHIVE_PRIORITY 1
@@ -209,7 +209,7 @@ Common::String Disk_ns::selectArchive(const Common::String& name) {
_sset.remove(_resArchiveName);
}
_resArchiveName = name;
- addArchive(name, LOW_ARCHIVE_PRIORITY);
+ addArchive(name, NORMAL_ARCHIVE_PRIORITY);
return oldName;
}
@@ -244,7 +244,7 @@ DosDisk_ns::~DosDisk_ns() {
void DosDisk_ns::init() {
// setup permament archives
- addArchive("disk1", NORMAL_ARCHIVE_PRIORITY);
+ addArchive("disk1", LOW_ARCHIVE_PRIORITY);
}
Common::SeekableReadStream *DosDisk_ns::tryOpenFile(const char* name) {
@@ -713,10 +713,10 @@ AmigaDisk_ns::~AmigaDisk_ns() {
void AmigaDisk_ns::init() {
// setup permament archives
if (_vm->getFeatures() & GF_DEMO) {
- addArchive("disk0", NORMAL_ARCHIVE_PRIORITY);
+ addArchive("disk0", LOW_ARCHIVE_PRIORITY);
} else {
- addArchive("disk0", NORMAL_ARCHIVE_PRIORITY);
- addArchive("disk1", NORMAL_ARCHIVE_PRIORITY);
+ addArchive("disk0", LOW_ARCHIVE_PRIORITY);
+ addArchive("disk1", LOW_ARCHIVE_PRIORITY);
}
}