mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-10 02:02:30 +00:00
Update Satapi.cs
This commit is contained in:
parent
75320a79e7
commit
458e465626
1 changed files with 1 additions and 5 deletions
|
|
@ -23,11 +23,7 @@ namespace Cosmos.HAL.BlockDevice.Ports
|
|||
// Check if it is really a SATAPI Port!
|
||||
if (aSATAPIPort.mPortType != PortType.SATAPI || (aSATAPIPort.CMD & (1U << 24)) == 0)
|
||||
{
|
||||
Console.ForegroundColor = ConsoleColor.DarkRed;
|
||||
Console.Write("\n[Error]");
|
||||
Console.ForegroundColor = ConsoleColor.Red;
|
||||
Console.WriteLine($" 0:{aSATAPIPort.mPortNumber} is not a SATAPI port!");
|
||||
return;
|
||||
throw new Exception($"SATAPI Error: 0:{mPortNumber} is not SATAPI port!");
|
||||
}
|
||||
mSATAPIDebugger.Send("SATAPI Constructor");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue