atimach64gx: Rename enable_crtc_internal.

This commit is contained in:
joevt 2024-02-28 01:22:47 -08:00 committed by dingusdev
parent 578e5dc063
commit babefd09f3
2 changed files with 3 additions and 3 deletions

View File

@ -492,7 +492,7 @@ void AtiMach64Gx::verbose_pixel_format(int crtc_index) {
}
}
void AtiMach64Gx::enable_crtc_internal()
void AtiMach64Gx::crtc_update()
{
uint32_t new_width, new_height;
@ -596,7 +596,7 @@ void AtiMach64Gx::rgb514_write_ind_reg(uint8_t reg_addr, uint8_t value)
if (value == 3) {
this->pixel_depth = 8;
// HACK: not the best place for enabling display output!
this->enable_crtc_internal();
this->crtc_update();
} else {
ABORT_F("RGB514: unimplemented pixel format %d", value);
}

View File

@ -60,7 +60,7 @@ protected:
bool io_access_allowed(uint32_t offset);
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 crtc_update();
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);