m6809: Set V flag on XDEC (#11259)

This commit is contained in:
tim lindner 2023-05-21 12:51:02 -07:00 committed by GitHub
parent c92625b772
commit 9d39fbd6aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -684,7 +684,7 @@ XDEC8:
else
m_cc &= ~CC_C;
m_temp.b.l = set_flags<uint8_t>(CC_NZ, m_temp.b.l, 1, m_temp.b.l - 1);
m_temp.b.l = set_flags<uint8_t>(CC_NZV, m_temp.b.l, 1, m_temp.b.l - 1);
if(!hd6309_native_mode() || !is_register_addressing_mode())
{
@dummy_read_opcode_arg(0);