mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-02-07 10:31:06 +00:00
ati: Frame refresh if CRTC_ENABLE changes.
This commit is contained in:
parent
c6116fcc88
commit
116a65ce77
@ -510,6 +510,7 @@ void AtiMach64Gx::write_reg(uint32_t reg_offset, uint32_t value, uint32_t size)
|
||||
}
|
||||
|
||||
if (bit_changed(old_value, new_value, ATI_CRTC_ENABLE)) {
|
||||
draw_fb = true;
|
||||
this->crtc_update();
|
||||
}
|
||||
break;
|
||||
|
@ -398,6 +398,7 @@ void ATIRage::write_reg(uint32_t reg_offset, uint32_t value, uint32_t size) {
|
||||
|
||||
this->regs[reg_num] = new_value;
|
||||
if (bit_changed(old_value, new_value, ATI_CRTC_ENABLE)) {
|
||||
draw_fb = true;
|
||||
if (bit_set(new_value, ATI_CRTC_ENABLE) &&
|
||||
!bit_set(new_value, ATI_CRTC_DISPLAY_DIS)) {
|
||||
this->crtc_update();
|
||||
|
Loading…
x
Reference in New Issue
Block a user