From 71ae11f25a7fd62bb409bbf839831462327d00bc Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sat, 11 Oct 2025 15:58:04 +0100 Subject: [PATCH] Fix optical image capabilities flags. --- Aaru.CommonTypes/Enums/Images.cs | 36 ++++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Aaru.CommonTypes/Enums/Images.cs b/Aaru.CommonTypes/Enums/Images.cs index 88e9987c6..38609d452 100644 --- a/Aaru.CommonTypes/Enums/Images.cs +++ b/Aaru.CommonTypes/Enums/Images.cs @@ -373,37 +373,37 @@ public enum OpticalImageCapabilities : ulong /// Can store CD-V analogue video tracks? CanStoreVideoTracks = 0x02, /// Can store Yellow Book data tracks? - CanStoreDataTracks = 0x03, + CanStoreDataTracks = 0x04, /// Can store pregaps without needing to interpret the subchannel? - CanStorePregaps = 0x04, + CanStorePregaps = 0x08, /// Can store indexes without needing to interpret the subchannel? - CanStoreIndexes = 0x08, + CanStoreIndexes = 0x10, /// Can store raw P to W subchannel data? - CanStoreSubchannelRw = 0x10, + CanStoreSubchannelRw = 0x20, /// Can store more than one session? - CanStoreSessions = 0x20, + CanStoreSessions = 0x40, /// Can store track ISRCs without needing to interpret the subchannel? - CanStoreIsrc = 0x40, + CanStoreIsrc = 0x80, /// Can store Lead-In's CD-TEXT? - CanStoreCdText = 0x80, + CanStoreCdText = 0x100, /// Can store the MCN without needing to interpret the subchannel? - CanStoreMcn = 0x100, + CanStoreMcn = 0x200, /// Can store the whole 2352 bytes of a sector? - CanStoreRawData = 0x200, - /// Can store more than 1 session in media that is not CD based (DVD et al)? - CanStoreNotCdSessions = 0x2000, - /// Can store more than 1 track in media that is not CD based (DVD et al)? - CanStoreNotCdTracks = 0x4000, - /// Can store hidden tracks with a type different from track 1? - CanStoreHiddenTracks = 0x8000, + CanStoreRawData = 0x400, // TODO: Implement /// Can store scrambled data? - CanStoreScrambledData = 0x400, + CanStoreScrambledData = 0x800, /// Can store only the user area of a sector (2048, 2324, etc)? - CanStoreCookedData = 0x800, + CanStoreCookedData = 0x1000, /// Can store more than 1 track? - CanStoreMultipleTracks = 0x1000 + CanStoreMultipleTracks = 0x2000, + /// Can store more than 1 session in media that is not CD based (DVD et al)? + CanStoreNotCdSessions = 0x4000, + /// Can store more than 1 track in media that is not CD based (DVD et al)? + CanStoreNotCdTracks = 0x8000, + /// Can store hidden tracks with a type different from track 1? + CanStoreHiddenTracks = 0x10000 } /// Enumeration of linear memory device types