[Scummvm-git-logs] scummvm master -> 9894eb220609d82bc6bf20513d7117b6621e76b7

npjg noreply at scummvm.org
Sat Jan 11 02:06:19 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
9894eb2206 MEDIASTATION: Add two missing asset header sections


Commit: 9894eb220609d82bc6bf20513d7117b6621e76b7
    https://github.com/scummvm/scummvm/commit/9894eb220609d82bc6bf20513d7117b6621e76b7
Author: Nathanael Gentry (nathanael.gentrydb8 at gmail.com)
Date: 2025-01-10T21:02:54-05:00

Commit Message:
MEDIASTATION: Add two missing asset header sections

Changed paths:
    engines/mediastation/assetheader.cpp


diff --git a/engines/mediastation/assetheader.cpp b/engines/mediastation/assetheader.cpp
index a406c9f23be..0daa5985a39 100644
--- a/engines/mediastation/assetheader.cpp
+++ b/engines/mediastation/assetheader.cpp
@@ -257,6 +257,17 @@ void AssetHeader::readSection(AssetHeaderSectionType sectionType, Chunk& chunk)
 		break;
 	}
 
+	case kAssetHeaderX: {
+		_x = Datum(chunk).u.i;
+		break;
+	}
+
+	case kAssetHeaderY: {
+		_y = Datum(chunk).u.i;
+		break;
+	}
+
+
 	default: {
 		error("AssetHeader::readSection(): Unknown section type 0x%x (@0x%llx)", static_cast<uint>(sectionType), static_cast<long long int>(chunk.pos()));
 		break;




More information about the Scummvm-git-logs mailing list