From babefd09f3e396a1362ddce93d0e8e1473e11c89 Mon Sep 17 00:00:00 2001 From: joevt Date: Wed, 28 Feb 2024 01:22:47 -0800 Subject: [PATCH] atimach64gx: Rename enable_crtc_internal. --- devices/video/atimach64gx.cpp | 4 ++-- devices/video/atimach64gx.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/devices/video/atimach64gx.cpp b/devices/video/atimach64gx.cpp index 0cc8ad8..ddbf12d 100644 --- a/devices/video/atimach64gx.cpp +++ b/devices/video/atimach64gx.cpp @@ -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); } diff --git a/devices/video/atimach64gx.h b/devices/video/atimach64gx.h index ec95268..1fcb8ab 100644 --- a/devices/video/atimach64gx.h +++ b/devices/video/atimach64gx.h @@ -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);