From 3036f4676d5abfda02ed7c22c373ea840a3a8fbd Mon Sep 17 00:00:00 2001 From: joevt Date: Tue, 23 Apr 2024 05:14:46 -0700 Subject: [PATCH] Use default window size in constructor. The window size should be changed later by the mon_id property. --- devices/memctrl/platinum.cpp | 2 +- devices/video/atimach64gx.cpp | 2 +- devices/video/atirage.cpp | 2 +- devices/video/control.cpp | 2 +- devices/video/taos.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/devices/memctrl/platinum.cpp b/devices/memctrl/platinum.cpp index 05698e8..4def10c 100644 --- a/devices/memctrl/platinum.cpp +++ b/devices/memctrl/platinum.cpp @@ -34,7 +34,7 @@ along with this program. If not, see . using namespace Platinum; -PlatinumCtrl::PlatinumCtrl() : MemCtrlBase(), VideoCtrlBase(640, 480) { +PlatinumCtrl::PlatinumCtrl() : MemCtrlBase(), VideoCtrlBase() { set_name("Platinum"); supports_types(HWCompType::MEM_CTRL | HWCompType::MMIO_DEV); diff --git a/devices/video/atimach64gx.cpp b/devices/video/atimach64gx.cpp index 1e701e2..a9bea61 100644 --- a/devices/video/atimach64gx.cpp +++ b/devices/video/atimach64gx.cpp @@ -123,7 +123,7 @@ static const std::map rgb514_reg_names = { }; AtiMach64Gx::AtiMach64Gx() - : PCIDevice("ati-mach64-gx"), VideoCtrlBase(640, 480) + : PCIDevice("ati-mach64-gx"), VideoCtrlBase() { supports_types(HWCompType::MMIO_DEV | HWCompType::PCI_DEV); diff --git a/devices/video/atirage.cpp b/devices/video/atirage.cpp index aaf5b2e..5a4be54 100644 --- a/devices/video/atirage.cpp +++ b/devices/video/atirage.cpp @@ -89,7 +89,7 @@ static const std::map mach64_reg_names = { }; ATIRage::ATIRage(uint16_t dev_id) - : PCIDevice("ati-rage"), VideoCtrlBase(640, 480) + : PCIDevice("ati-rage"), VideoCtrlBase() { uint8_t asic_id; diff --git a/devices/video/control.cpp b/devices/video/control.cpp index 48308fb..f5f183f 100644 --- a/devices/video/control.cpp +++ b/devices/video/control.cpp @@ -57,7 +57,7 @@ namespace loguru { } ControlVideo::ControlVideo() - : PCIDevice("Control-Video"), VideoCtrlBase(640, 480) + : PCIDevice("Control-Video"), VideoCtrlBase() { supports_types(HWCompType::PCI_HOST | HWCompType::PCI_DEV); diff --git a/devices/video/taos.cpp b/devices/video/taos.cpp index 70fd0ce..b3174ff 100644 --- a/devices/video/taos.cpp +++ b/devices/video/taos.cpp @@ -33,7 +33,7 @@ along with this program. If not, see . #include -TaosVideo::TaosVideo() : VideoCtrlBase(640, 480) { +TaosVideo::TaosVideo() : VideoCtrlBase() { set_name("Taos"); supports_types(HWCompType::MMIO_DEV);