build fix + fct rename

This commit is contained in:
valentinbreiz 2020-07-16 22:42:11 +02:00
parent d5cc9cd7fe
commit 3c2125c0cd
2 changed files with 3 additions and 3 deletions

View file

@ -84,7 +84,7 @@ namespace Cosmos.HAL.Drivers
IO.LinearFrameBuffer = new MemoryBlock(VBE.getLfbOffset(), (uint)xres * yres * (uint)(bpp / 8));
lastbuffer = new ManagedMemoryBlock((uint)xres * yres * (uint)(bpp / 8));
}
else if (AvailableISAMode()) //Bochs Graphics Adaptor ISA Mode
else if (ISAModeAvailable()) //Bochs Graphics Adaptor ISA Mode
{
Global.mDebugger.SendInternal($"Creating VBE BGA driver with Mode {xres}*{yres}@{bpp}.");
@ -123,7 +123,7 @@ namespace Cosmos.HAL.Drivers
IO.VbeIndex.Word = (ushort)index;
return IO.VbeData.Word;
}
public static bool AvailableISAMode()
public static bool ISAModeAvailable()
{
//This code wont work as long as Bochs uses BGA ISA, since it wont discover it in PCI
#if false

View file

@ -48,7 +48,7 @@ namespace Cosmos.System.Graphics
/// <returns></returns>
public static bool BGAExists()
{
return VBEDriver.Available();
return VBEDriver.ISAModeAvailable();
}
/// <summary>