Use default window size in constructor.

The window size should be changed later by the mon_id property.
This commit is contained in:
joevt 2024-04-23 05:14:46 -07:00 committed by dingusdev
parent e14b6677b2
commit 3036f4676d
5 changed files with 5 additions and 5 deletions

View File

@ -34,7 +34,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
using namespace Platinum;
PlatinumCtrl::PlatinumCtrl() : MemCtrlBase(), VideoCtrlBase(640, 480) {
PlatinumCtrl::PlatinumCtrl() : MemCtrlBase(), VideoCtrlBase() {
set_name("Platinum");
supports_types(HWCompType::MEM_CTRL | HWCompType::MMIO_DEV);

View File

@ -123,7 +123,7 @@ static const std::map<uint16_t, std::string> 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);

View File

@ -89,7 +89,7 @@ static const std::map<uint16_t, std::string> mach64_reg_names = {
};
ATIRage::ATIRage(uint16_t dev_id)
: PCIDevice("ati-rage"), VideoCtrlBase(640, 480)
: PCIDevice("ati-rage"), VideoCtrlBase()
{
uint8_t asic_id;

View File

@ -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);

View File

@ -33,7 +33,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
#include <string>
TaosVideo::TaosVideo() : VideoCtrlBase(640, 480) {
TaosVideo::TaosVideo() : VideoCtrlBase() {
set_name("Taos");
supports_types(HWCompType::MMIO_DEV);