mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-13 03:30:31 +00:00
appleramdac: Reset comp_index on address change.
This commit is contained in:
parent
2f63a2fa17
commit
7c203b40c8
@ -60,6 +60,7 @@ void AppleRamdac::iodev_write(uint32_t address, uint16_t value) {
|
||||
switch(address) {
|
||||
case RamdacRegs::ADDRESS:
|
||||
this->dac_addr = value;
|
||||
this->comp_index = 0;
|
||||
break;
|
||||
case RamdacRegs::CURSOR_CLUT:
|
||||
this->clut_color[this->comp_index++] = value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user