mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +00:00
remove useless variables
This commit is contained in:
parent
59647ee324
commit
eb814c932e
1 changed files with 0 additions and 7 deletions
|
|
@ -68,10 +68,6 @@ namespace Cosmos.HAL.Drivers
|
||||||
NoClearMemory = 0x80,
|
NoClearMemory = 0x80,
|
||||||
};
|
};
|
||||||
|
|
||||||
int xRes;
|
|
||||||
int yRes;
|
|
||||||
int Bpp;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Create new instance of the <see cref="VBEDriver"/> class.
|
/// Create new instance of the <see cref="VBEDriver"/> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
@ -81,9 +77,6 @@ namespace Cosmos.HAL.Drivers
|
||||||
public VBEDriver(ushort xres, ushort yres, ushort bpp)
|
public VBEDriver(ushort xres, ushort yres, ushort bpp)
|
||||||
{
|
{
|
||||||
Global.mDebugger.SendInternal($"Creating VBEDriver with Mode {xres}*{yres}@{bpp}");
|
Global.mDebugger.SendInternal($"Creating VBEDriver with Mode {xres}*{yres}@{bpp}");
|
||||||
xRes = xres;
|
|
||||||
yRes = yres;
|
|
||||||
Bpp = bpp;
|
|
||||||
IO.LinearFrameBuffer = new MemoryBlock(0xE0000000, (uint)xres * yres * (uint)(bpp / 8));
|
IO.LinearFrameBuffer = new MemoryBlock(0xE0000000, (uint)xres * yres * (uint)(bpp / 8));
|
||||||
lastbuffer = new ManagedMemoryBlock((uint)xres * yres * (uint)(bpp / 8));
|
lastbuffer = new ManagedMemoryBlock((uint)xres * yres * (uint)(bpp / 8));
|
||||||
VBESet(xres, yres, bpp);
|
VBESet(xres, yres, bpp);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue