atimach64gx: Remove disable_crtc_internal.

This commit is contained in:
joevt 2024-02-28 01:17:03 -08:00 committed by dingusdev
parent 2a290ff9c1
commit 578e5dc063
2 changed files with 2 additions and 9 deletions

View File

@ -387,7 +387,8 @@ void AtiMach64Gx::write_reg(uint32_t reg_offset, uint32_t value, uint32_t size)
if (bit_changed(old_value, new_value, ATI_CRTC_ENABLE)) {
if (!bit_set(new_value, ATI_CRTC_ENABLE)) {
this->disable_crtc_internal();
this->blank_on = true;
this->blank_display();
} else {
this->blank_on = false;
}
@ -529,12 +530,6 @@ void AtiMach64Gx::enable_crtc_internal()
this->crtc_on = true;
}
void AtiMach64Gx::disable_crtc_internal()
{
this->blank_on = true;
this->blank_display();
}
// ========================== IBM RGB514 related code ==========================
void AtiMach64Gx::rgb514_write_reg(uint8_t reg_addr, uint8_t value)
{

View File

@ -61,8 +61,6 @@ protected:
uint32_t read_reg(uint32_t reg_offset, uint32_t size);
void write_reg(uint32_t reg_offset, uint32_t value, uint32_t size);
void enable_crtc_internal();
void disable_crtc_internal();
void rgb514_write_reg(uint8_t reg_addr, uint8_t value);
void rgb514_write_ind_reg(uint8_t reg_addr, uint8_t value);
void verbose_pixel_format(int crtc_index);