mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-06-16 21:29:48 +00:00
Use default window size in constructor.
The window size should be changed later by the mon_id property.
This commit is contained in:
parent
e14b6677b2
commit
3036f4676d
|
@ -34,7 +34,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
using namespace Platinum;
|
using namespace Platinum;
|
||||||
|
|
||||||
PlatinumCtrl::PlatinumCtrl() : MemCtrlBase(), VideoCtrlBase(640, 480) {
|
PlatinumCtrl::PlatinumCtrl() : MemCtrlBase(), VideoCtrlBase() {
|
||||||
set_name("Platinum");
|
set_name("Platinum");
|
||||||
|
|
||||||
supports_types(HWCompType::MEM_CTRL | HWCompType::MMIO_DEV);
|
supports_types(HWCompType::MEM_CTRL | HWCompType::MMIO_DEV);
|
||||||
|
|
|
@ -123,7 +123,7 @@ static const std::map<uint16_t, std::string> rgb514_reg_names = {
|
||||||
};
|
};
|
||||||
|
|
||||||
AtiMach64Gx::AtiMach64Gx()
|
AtiMach64Gx::AtiMach64Gx()
|
||||||
: PCIDevice("ati-mach64-gx"), VideoCtrlBase(640, 480)
|
: PCIDevice("ati-mach64-gx"), VideoCtrlBase()
|
||||||
{
|
{
|
||||||
supports_types(HWCompType::MMIO_DEV | HWCompType::PCI_DEV);
|
supports_types(HWCompType::MMIO_DEV | HWCompType::PCI_DEV);
|
||||||
|
|
||||||
|
|
|
@ -89,7 +89,7 @@ static const std::map<uint16_t, std::string> mach64_reg_names = {
|
||||||
};
|
};
|
||||||
|
|
||||||
ATIRage::ATIRage(uint16_t dev_id)
|
ATIRage::ATIRage(uint16_t dev_id)
|
||||||
: PCIDevice("ati-rage"), VideoCtrlBase(640, 480)
|
: PCIDevice("ati-rage"), VideoCtrlBase()
|
||||||
{
|
{
|
||||||
uint8_t asic_id;
|
uint8_t asic_id;
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ namespace loguru {
|
||||||
}
|
}
|
||||||
|
|
||||||
ControlVideo::ControlVideo()
|
ControlVideo::ControlVideo()
|
||||||
: PCIDevice("Control-Video"), VideoCtrlBase(640, 480)
|
: PCIDevice("Control-Video"), VideoCtrlBase()
|
||||||
{
|
{
|
||||||
supports_types(HWCompType::PCI_HOST | HWCompType::PCI_DEV);
|
supports_types(HWCompType::PCI_HOST | HWCompType::PCI_DEV);
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
TaosVideo::TaosVideo() : VideoCtrlBase(640, 480) {
|
TaosVideo::TaosVideo() : VideoCtrlBase() {
|
||||||
set_name("Taos");
|
set_name("Taos");
|
||||||
|
|
||||||
supports_types(HWCompType::MMIO_DEV);
|
supports_types(HWCompType::MMIO_DEV);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user