From 9c33e844d76f9db6d7110de4f05cbe2084cdbca1 Mon Sep 17 00:00:00 2001 From: Amlal Date: Sat, 26 Apr 2025 13:44:35 +0200 Subject: dev, kernel and user: codebase additions and work in progress 'tactical pause' why? - HeFS's Formating needs some thought before being layed out, that's the kind of thing that bites hard in the ass. - Alongside those changes I improved parts of the kernel too. Signed-off-by: Amlal --- dev/kernel/src/Gfx/FBDeviceInterface.cc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'dev/kernel/src/Gfx/FBDeviceInterface.cc') diff --git a/dev/kernel/src/Gfx/FBDeviceInterface.cc b/dev/kernel/src/Gfx/FBDeviceInterface.cc index 185b22b0..be52655d 100644 --- a/dev/kernel/src/Gfx/FBDeviceInterface.cc +++ b/dev/kernel/src/Gfx/FBDeviceInterface.cc @@ -27,9 +27,6 @@ FBDeviceInterface& FBDeviceInterface::operator<<(FBDevicePacket* pckt) { if (pckt->fHeight == 0 || pckt->fWidth == 0) return *this; - if (pckt->fX > kHandoverHeader->f_GOP.f_Width || pckt->fY > kHandoverHeader->f_GOP.f_Height) - return *this; - this->fOut(this, pckt); return *this; @@ -40,10 +37,7 @@ FBDeviceInterface& FBDeviceInterface::operator<<(FBDevicePacket* pckt) { /// @return the class itself after operation. FBDeviceInterface& FBDeviceInterface::operator>>(FBDevicePacket* pckt) { if (!pckt) return *this; - - if (pckt->fX > kHandoverHeader->f_GOP.f_Width || pckt->fY > kHandoverHeader->f_GOP.f_Height) - return *this; - + this->fIn(this, pckt); return *this; @@ -52,5 +46,5 @@ FBDeviceInterface& FBDeviceInterface::operator>>(FBDevicePacket* pckt) { /// @brief Returns the name of the device interface. /// @return it's name as a string. const Char* FBDeviceInterface::Name() const { - return "/dev/fb{}"; + return "/devices/fb{}"; } \ No newline at end of file -- cgit v1.2.3