gusmanb / micropicodrive

Internal microdrive replacement for the Sinclair QL
MIT License
14 stars 1 forks source link

errors compiling of MicroDriveCartridge object. #7

Open alvaroalea opened 6 months ago

alvaroalea commented 6 months ago

Well, first of all, I have not real idea of what are i'm doing, no idea of C#, but I try to compile the software under linux.

I use dot-net-skd-8.0 from microsoft.

I got 2 errors compiling, and lots of warnings.

BatchConverter.cs(120,61): error CS1729: 'MicroDriveCartridge' no contiene un constructor que tome 4 argumentos

so I remove the mediumId from the line, as in MicroDriveCartridge.cs line 120, only see 3 arguments in the ¿constructor?

DirectoryExplorer.cs(266,105): error CS1739: La mejor sobrecarga para 'MicroDriveCartridge' no tiene un parámetro denominado 'MediaIdentifier'

so I replace the last part "MediaIdentifier: mediumDlg.MediaId);" with "MicroDriveCartridge.MicroDriveSectorStrategy.Spaced);"

Now, it compile without error, and seen to work, but I appreciate if you review it as I afraid to broke other parts.

gusmanb commented 6 months ago

I have updated the solution, not sure why there were missing some updates I did last time I pulled the repository, if you download it now it will compile correctly.