mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-30 20:30:22 +00:00
platinum: Add disable_display.
To mirror enable_display.
This commit is contained in:
parent
fc89fec3e6
commit
97339e4ce4
@ -270,7 +270,7 @@ void PlatinumCtrl::write(uint32_t rgn_start, uint32_t offset, uint32_t value, in
|
||||
LOG_F(INFO, "%s: video enabled", this->name.c_str());
|
||||
this->enable_display();
|
||||
} else {
|
||||
this->blank_display();
|
||||
this->disable_display();
|
||||
}
|
||||
this->reset_step = 0;
|
||||
}
|
||||
@ -461,6 +461,11 @@ void PlatinumCtrl::enable_display() {
|
||||
this->crtc_on = true;
|
||||
}
|
||||
|
||||
void PlatinumCtrl::disable_display() {
|
||||
this->crtc_on = false;
|
||||
this->blank_display();
|
||||
}
|
||||
|
||||
void PlatinumCtrl::enable_cursor_int() {
|
||||
if (!(this->swatch_int_mask & SWATCH_INT_CURSOR))
|
||||
return;
|
||||
|
@ -222,6 +222,7 @@ public:
|
||||
|
||||
protected:
|
||||
void enable_display();
|
||||
void disable_display();
|
||||
void enable_cursor_int();
|
||||
void update_irq(uint8_t irq_line_state, uint8_t irq_mask);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user