diff --git a/source/Cosmos.HAL2/Drivers/Video/VBEDriver.cs b/source/Cosmos.HAL2/Drivers/Video/VBEDriver.cs index e7329e6f8..b7174ef8a 100644 --- a/source/Cosmos.HAL2/Drivers/Video/VBEDriver.cs +++ b/source/Cosmos.HAL2/Drivers/Video/VBEDriver.cs @@ -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 diff --git a/source/Cosmos.System2/Graphics/FullScreenCanvas.cs b/source/Cosmos.System2/Graphics/FullScreenCanvas.cs index 48f01bf88..a6e273050 100644 --- a/source/Cosmos.System2/Graphics/FullScreenCanvas.cs +++ b/source/Cosmos.System2/Graphics/FullScreenCanvas.cs @@ -48,7 +48,7 @@ namespace Cosmos.System.Graphics /// public static bool BGAExists() { - return VBEDriver.Available(); + return VBEDriver.ISAModeAvailable(); } ///