put_result must use the right mode and space

This commit is contained in:
folkert van heusden 2023-03-25 17:39:21 +01:00
parent bbd11b82b5
commit 9a467ed05f
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

@ -154,7 +154,7 @@ bool cpu::put_result(const gam_rc_t & g, const uint16_t value)
return true;
}
b->write(g.addr.value(), g.word_mode, value, rm_cur);
b->write(g.addr.value(), g.word_mode, value, g.mode_selection, g.space);
return g.addr.value() != ADDR_PSW;
}