mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-10 10:11:31 +00:00
build fix + fct rename
This commit is contained in:
parent
d5cc9cd7fe
commit
3c2125c0cd
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ namespace Cosmos.System.Graphics
|
|||
/// <returns></returns>
|
||||
public static bool BGAExists()
|
||||
{
|
||||
return VBEDriver.Available();
|
||||
return VBEDriver.ISAModeAvailable();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in a new issue