Code restyling.

This commit is contained in:
2020-02-29 18:03:35 +00:00
parent 4ea327f0c6
commit f7e173710e
855 changed files with 43605 additions and 38045 deletions

View File

@@ -34,12 +34,13 @@ namespace Aaru.DiscImages
{
public partial class CloneCd
{
static ulong GetLba(int minute, int second, int frame) => (ulong)(minute * 60 * 75 + second * 75 + frame - 150);
static ulong GetLba(int minute, int second, int frame) =>
(ulong)(((minute * 60 * 75) + (second * 75) + frame) - 150);
static long MsfToLba((byte minute, byte second, byte frame) msf) =>
msf.minute * 60 * 75 + msf.second * 75 + msf.frame - 150;
((msf.minute * 60 * 75) + (msf.second * 75) + msf.frame) - 150;
static (byte minute, byte second, byte frame) LbaToMsf(ulong sector) =>
((byte)((sector + 150) / 75 / 60), (byte)((sector + 150) / 75 % 60), (byte)((sector + 150) % 75));
((byte)((sector + 150) / 75 / 60), (byte)(((sector + 150) / 75) % 60), (byte)((sector + 150) % 75));
}
}