Changed an accidental addition to the correct subtraction in the 808x DAS instruction, fixes XTIDE port reporting.

This commit is contained in:
OBattler
2020-04-27 03:07:50 +02:00
parent ba8dc579ca
commit ad040f18b0

View File

@@ -1898,7 +1898,7 @@ execx86(int cycs)
temp = !!(cpu_state.flags & A_FLAG);
if ((cpu_state.flags & A_FLAG) || ((AL & 0xf) > 9)) {
cpu_src = 6;
cpu_data = cpu_dest + cpu_src;
cpu_data = cpu_dest - cpu_src;
set_of_sub(8);
cpu_dest = cpu_data;
set_af(1);