mirror of
https://github.com/aaru-dps/Aaru.Decoders.git
synced 2025-12-16 19:24:32 +00:00
DVD regions should go from 1 to 8
This commit is contained in:
committed by
GitHub
parent
4f1901dfb8
commit
17202944e4
@@ -115,28 +115,28 @@ namespace Aaru.Decoders.DVD
|
||||
sb.Append("Disc can be played in the following regions:");
|
||||
|
||||
if((decoded.RegionInformation & 0x01) != 0x01)
|
||||
sb.Append(" 0");
|
||||
|
||||
if((decoded.RegionInformation & 0x02) != 0x02)
|
||||
sb.Append(" 1");
|
||||
|
||||
if((decoded.RegionInformation & 0x04) != 0x04)
|
||||
if((decoded.RegionInformation & 0x02) != 0x02)
|
||||
sb.Append(" 2");
|
||||
|
||||
if((decoded.RegionInformation & 0x08) != 0x08)
|
||||
if((decoded.RegionInformation & 0x04) != 0x04)
|
||||
sb.Append(" 3");
|
||||
|
||||
if((decoded.RegionInformation & 0x10) != 0x10)
|
||||
if((decoded.RegionInformation & 0x08) != 0x08)
|
||||
sb.Append(" 4");
|
||||
|
||||
if((decoded.RegionInformation & 0x20) != 0x20)
|
||||
if((decoded.RegionInformation & 0x10) != 0x10)
|
||||
sb.Append(" 5");
|
||||
|
||||
if((decoded.RegionInformation & 0x40) != 0x40)
|
||||
if((decoded.RegionInformation & 0x20) != 0x20)
|
||||
sb.Append(" 6");
|
||||
|
||||
if((decoded.RegionInformation & 0x80) != 0x80)
|
||||
if((decoded.RegionInformation & 0x40) != 0x40)
|
||||
sb.Append(" 7");
|
||||
|
||||
if((decoded.RegionInformation & 0x80) != 0x80)
|
||||
sb.Append(" 8");
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
|
||||
Reference in New Issue
Block a user