aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/fullpipe/inventory.cpp4
-rw-r--r--engines/prince/detection.cpp12
2 files changed, 15 insertions, 1 deletions
diff --git a/engines/fullpipe/inventory.cpp b/engines/fullpipe/inventory.cpp
index 7cf8fe9712..1a3c234ef6 100644
--- a/engines/fullpipe/inventory.cpp
+++ b/engines/fullpipe/inventory.cpp
@@ -95,7 +95,9 @@ bool Inventory2::loadPartial(MfcArchive &file) { // Inventory2_SerializePartiall
int numInvs = file.readUint32LE();
for (int i = 0; i < numInvs; i++) {
- _inventoryItems.push_back(InventoryItem(file.readUint16LE(), file.readUint16LE()));
+ int16 itemId = file.readUint16LE();
+ int16 count = file.readUint16LE();
+ _inventoryItems.push_back(InventoryItem(itemId, count));
}
return true;
diff --git a/engines/prince/detection.cpp b/engines/prince/detection.cpp
index 8e7fbd7197..a8fa305332 100644
--- a/engines/prince/detection.cpp
+++ b/engines/prince/detection.cpp
@@ -88,6 +88,18 @@ static const PrinceGameDescription gameDescriptions[] = {
{
{
"prince",
+ "Galador",
+ AD_ENTRY1s("databank.ptc", "a67b55730f3d7064921bd2a59e1063a3", 3892982),
+ Common::RU_RUS,
+ Common::kPlatformWindows,
+ ADGF_TESTING,
+ GUIO1(GUIO_NONE)
+ },
+ kPrinceDataPL
+ },
+ {
+ {
+ "prince",
"The Prince and the Coward",
{
{"databank.ptc", 0, "5fa03833177331214ec1354761b1d2ee", 3565031},