Move all localizable strings from Aaru.Devices project to resources.

This commit is contained in:
2022-11-27 18:51:44 +00:00
parent 4c9176ee42
commit 119ceea01d
41 changed files with 1845 additions and 301 deletions

View File

@@ -98,10 +98,10 @@ partial class Device : Devices.Device
};
IntPtr descriptorPtr = Marshal.AllocHGlobal(1000);
var descriptorB = new byte[1000];
byte[] descriptorB = new byte[1000];
uint returned = 0;
var error = 0;
int error = 0;
bool hasError = !Extern.DeviceIoControlStorageQuery(dev._fileHandle, WindowsIoctl.IoctlStorageQueryProperty,
ref query, (uint)Marshal.SizeOf(query), descriptorPtr, 1000,
@@ -196,7 +196,7 @@ partial class Device : Devices.Device
if(IsSdhci(dev._fileHandle))
{
var sdBuffer = new byte[16];
byte[] sdBuffer = new byte[16];
dev.LastError = dev.SendMmcCommand(MmcCommands.SendCsd, false, false,
MmcFlags.ResponseSpiR2 | MmcFlags.ResponseR2 | MmcFlags.CommandAc, 0, 16,