mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-14 10:30:34 +00:00
atirage: Update VBLANK bit.
It should not remain set.
This commit is contained in:
parent
d96da6434f
commit
6adba32238
@ -895,7 +895,7 @@ void ATIRage::get_cursor_position(int& x, int& y) {
|
|||||||
int ATIRage::device_postinit()
|
int ATIRage::device_postinit()
|
||||||
{
|
{
|
||||||
this->vbl_cb = [this](uint8_t irq_line_state) {
|
this->vbl_cb = [this](uint8_t irq_line_state) {
|
||||||
insert_bits<uint32_t>(this->regs[ATI_CRTC_INT_CNTL], irq_line_state, ATI_CRTC_VBLANK, 1);
|
insert_bits<uint32_t>(this->regs[ATI_CRTC_INT_CNTL], irq_line_state, ATI_CRTC_VBLANK, irq_line_state);
|
||||||
if (irq_line_state) {
|
if (irq_line_state) {
|
||||||
set_bit(this->regs[ATI_CRTC_INT_CNTL], ATI_CRTC_VBLANK_INT);
|
set_bit(this->regs[ATI_CRTC_INT_CNTL], ATI_CRTC_VBLANK_INT);
|
||||||
set_bit(this->regs[ATI_CRTC_INT_CNTL], ATI_CRTC_VLINE_INT);
|
set_bit(this->regs[ATI_CRTC_INT_CNTL], ATI_CRTC_VLINE_INT);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user