Skip to content

Commit fae1996

Browse files
committed
Grok the field for cursor resource ID.
1 parent d89c64a commit fae1996

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MediaStation/Assets/Asset.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,9 @@ def _read_section(self, section_type, chunk):
255255
elif section_type == 0x0021: # SND, MOV
256256
self._has_own_subfile = bool(Datum(chunk).d)
257257

258-
elif section_type == 0x0022: # SCR, TXT, CVS
259-
# TODO: Determine what this is.
260-
self.unks.append({hex(section_type): Datum(chunk).d})
258+
elif section_type == 0x0022: # SCR, TXT, CVS, HSP
259+
# This ID references the cursor declarations in BOOT.STM.
260+
self.cursor_resource_id = Datum(chunk).d
261261

262262
elif section_type == 0x0024: # SPR
263263
self.frame_rate = Datum(chunk).d

0 commit comments

Comments
 (0)