Mercurial > repos > blastem
comparison rf5c164.c @ 2276:709036ee222a
Don't set write pending flag for non-existent RF5C164 registers
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 02 Jan 2023 11:37:31 -0800 |
parents | 0d1d5dccdd28 |
children | 5a21bc0ec583 |
comparison
equal
deleted
inserted
replaced
2275:e27ab5f4bfe3 | 2276:709036ee222a |
---|---|
214 } | 214 } |
215 } | 215 } |
216 } else if (address <= ST) { | 216 } else if (address <= ST) { |
217 //See note in first step of rf5c164_run | 217 //See note in first step of rf5c164_run |
218 pcm->channels[pcm->selected_channel].regs[address] = value; | 218 pcm->channels[pcm->selected_channel].regs[address] = value; |
219 } else { | 219 } else if (address > 0x1000){ |
220 pcm->pending_address = address; | 220 pcm->pending_address = address; |
221 pcm->pending_byte = value; | 221 pcm->pending_byte = value; |
222 pcm->flags |= FLAG_PENDING; | 222 pcm->flags |= FLAG_PENDING; |
223 } | 223 } |
224 } | 224 } |